2
我想通過travis-ci運行phpspec。通過travis-ci運行phpspec
規格在我的本地機器上運行良好,但在Travis上它找不到phpspec文件。
0.01s$ bin/phpspec run -v
/home/travis/build.sh: line 41: bin/phpspec: No such file or directory
The command "bin/phpspec run -v" exited with 127.
我travis.yml看起來是這樣的:
語言:PHP
php:
- 5.4
- 5.5
- 5.6
before_script:
- composer self-update
install:
- composer install --prefer-source --no-interaction --dev
script:
- bin/phpspec run -v
我的作曲家這樣
"require": {
"php": ">=5.4.0",
"illuminate/support": "4.2.*",
"guzzlehttp/guzzle": "~4.0"
},
"autoload": {
"psr-0": {
"..."
}
},
"minimum-stability": "stable",
"require-dev": {
"phpspec/phpspec": "2.0.*@dev"
}
如何使它工作的任何想法?
作曲家是否將phpspec二進制文件安裝到bin目錄中? – roidrage 2014-09-24 07:31:44