Browse Source

Update travis

tags/2.0.5
Daniel Gomez Pan 9 years ago
parent
commit
6483c06a10
  1. 14
      .travis.yml

14
.travis.yml

@ -6,15 +6,13 @@ php:
- 5.6 - 5.6
- 7.0 - 7.0
- hhvm - hhvm
- hhvm-nightly
# run build against hhvm but allow them to fail # run build against hhvm but allow them to fail
# http://docs.travis-ci.com/user/build-configuration/#Rows-That-are-Allowed-To-Fail # http://docs.travis-ci.com/user/build-configuration/#Rows-That-are-Allowed-To-Fail
matrix: #matrix:
fast_finish: true # fast_finish: true
allow_failures: # allow_failures:
- php: hhvm-nightly # - php: 7.0
- php: 7.0
services: services:
- mongodb - mongodb
@ -29,7 +27,7 @@ cache:
install: install:
- travis_retry composer self-update && composer --version - travis_retry composer self-update && composer --version
- travis_retry composer global require "fxp/composer-asset-plugin:~1.0.0" - travis_retry composer global require "fxp/composer-asset-plugin:~1.1.1"
- export PATH="$HOME/.composer/vendor/bin:$PATH" - export PATH="$HOME/.composer/vendor/bin:$PATH"
- travis_retry composer install --prefer-dist --no-interaction - travis_retry composer install --prefer-dist --no-interaction
@ -46,7 +44,7 @@ script:
after_script: after_script:
- | - |
if [ $TRAVIS_PHP_VERSION = '5.6' ]; then if [ $TRAVIS_PHP_VERSION = '5.6' ]; then
cd ../../.. cd ../../..
travis_retry wget https://scrutinizer-ci.com/ocular.phar travis_retry wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover coverage.clover php ocular.phar code-coverage:upload --format=php-clover coverage.clover
fi fi

Loading…
Cancel
Save