File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,13 @@ before_script:
15
15
- composer install --dev -n $prefer_source
16
16
17
17
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;
21
22
22
23
matrix :
23
24
fast_finish : true
24
- allow_failures :
25
- - php : hhvm
26
25
27
26
notifications :
28
27
email : false
You can’t perform that action at this time.
0 commit comments