Skip to content

Commit

Permalink
Run Travis-CI on nightly PHP 7 build for 2.1 and above. Closes #2
Browse files Browse the repository at this point in the history
Signed-off-by: crynobone <crynobone@gmail.com>
  • Loading branch information
crynobone committed Feb 28, 2015
1 parent d7d31f1 commit 849f49d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,20 @@ php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm

before_script:
- travis_retry composer self-update
- travis_retry composer require satooshi/php-coveralls:~0.6 --prefer-source --no-interaction --dev
- if [[ "$TRAVIS_PHP_VERSION" == *5.6* ]]; then travis_retry composer require "satooshi/php-coveralls:~0.6.1" "symfony/yaml=~2.0" --prefer-source --no-interaction --dev; else travis_retry composer install --prefer-source --no-interaction; fi

script: phpunit -c phpunit.xml --coverage-text

after_script:
- if [[ "$TRAVIS_PHP_VERSION" != *hhvm* ]]; then php vendor/bin/coveralls -v; fi
- if [[ "$TRAVIS_PHP_VERSION" == *5.6* ]]; then php vendor/bin/coveralls -v; fi

matrix:
allow_failures:
- php: 7.0
- php: hhvm
fast_finish: true

0 comments on commit 849f49d

Please sign in to comment.