https://github.com/MaeStrO300697/amocrm-php-sdk/pull/1/checks?check_run_id=712417250
I get this error.
$ -composer install
/home/travis/.travis/functions: line 109: eval: -c: invalid option
eval: usage: eval [arg …]
The command “-composer install” failed and exited with 2 during .
Your build has been stopped.
Can you tell what could be the problem?
The mistake was incredibly simple. Missing space after hyphen -composer install
It is very strange that the final build that creates the assembly is absolutely identical.
With space(6)
https://travis-ci.com/github/MaeStrO300697/amocrm-php-sdk/builds/168365829/config
{
"language": "php",
"os": [
"linux"
],
"dist": "xenial",
"php": [
"7.2",
"7.3",
"7.4"
],
"install": [
"composer install"
],
"script": [
"./vendor/bin/phpcs"
]
}
Without space
https://travis-ci.com/github/MaeStrO300697/amocrm-php-sdk/jobs/340426434/config
{
"language": "php",
"os": [
"linux"
],
"dist": "xenial",
"php": [
"7.2",
"7.3",
"7.4"
],
"install": [
"composer install"
],
"script": [
"./vendor/bin/phpcs"
]
}