Skip to content

Commit

Permalink
Adding PHP nightly version to Travis config file
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanedev-maroc committed Mar 17, 2016
1 parent ade4818 commit da32d9e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@ php:
- 5.5
- 5.6
- 7.0
- nightly
- hhvm

matrix:
allow_failures:
- php: nightly

env:
- TESTBENCH_VERSION=3.0.*
- TESTBENCH_VERSION=3.1.*
Expand All @@ -24,5 +29,5 @@ script:
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover

after_script:
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
- if [ "$TRAVIS_PHP_VERSION" != "nightly" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
- if [ "$TRAVIS_PHP_VERSION" != "nightly" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi

0 comments on commit da32d9e

Please sign in to comment.