.yaml
文件
language: php
php:
- 5.5
- 7.0
- hhvm
install:
- composer install --prefer-dist --no-dev --optimize-autoloader --quiet
notifications:
email:
recipients:
- xxx@gmail.com
on_success: always
on_failure: always
script: phpunit -c phpunit.xml --coverage-text
报的错误The command "composer install --prefer-dist --no-dev --optimize-autoloader --quiet" failed and exited with 255 during .
把composer install命令放到一个shell脚本中,然后这里改为执行shell脚本试试