Skip to content

Commit 9d9f612

Browse files
author
Marc Bennewitz
committed
Travis: no longer allow HHVM to fail
and don't create code coverage with HHVM because of an issue with ocular.phar
1 parent c330c95 commit 9d9f612

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.travis.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,13 @@ before_script:
1515
- composer install --dev -n $prefer_source
1616

1717
script:
18-
- php vendor/bin/phpunit --verbose --coverage-clover=coverage.clover
19-
- wget "https://scrutinizer-ci.com/ocular.phar"
20-
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
18+
# Issue with ocular.phar together with HHVM
19+
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php vendor/bin/phpunit --verbose --coverage-clover=coverage.clover; else php vendor/bin/phpunit --verbose; fi;
20+
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget "https://scrutinizer-ci.com/ocular.phar"; fi;
21+
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi;
2122

2223
matrix:
2324
fast_finish: true
24-
allow_failures:
25-
- php: hhvm
2625

2726
notifications:
2827
email: false

0 commit comments

Comments
 (0)