Skip to content

Commit 8bd5404

Browse files
committed
Test on PHP 7.1
1 parent 83cc80f commit 8bd5404

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,17 @@ php:
66
- 5.5
77
- 5.6
88
- 7.0
9+
- 7.1
910
- hhvm
1011

1112
script:
1213
- phpunit --configuration tests/phpunit.xml --coverage-clover=coverage.clover
1314

1415
after_script:
15-
- wget https://scrutinizer-ci.com/ocular.phar
16-
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
16+
- if [ "$TRAVIS_PHP_VERSION" != "7.1" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
17+
- if [ "$TRAVIS_PHP_VERSION" != "7.1" ] && [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
1718

1819
matrix:
1920
allow_failures:
20-
- php: 7.0
21+
- php: 7.1
2122
- php: hhvm

0 commit comments

Comments
 (0)