Fix HHVM jobs on Travis (#451)
This commit is contained in:
parent
40b4a57e6b
commit
ee5dee61c7
@ -4,7 +4,7 @@ filter:
|
||||
tools:
|
||||
external_code_coverage:
|
||||
timeout: 600 # Wait 10 minutes for results
|
||||
runs: 3 # Merge results for 5.4, 5.5 and 5.6 jobs
|
||||
runs: 1 # Results are only coming from the PHP 7.1 job
|
||||
php_mess_detector: true
|
||||
php_code_sniffer:
|
||||
config:
|
||||
|
@ -7,6 +7,7 @@ php:
|
||||
- 5.5
|
||||
- 5.6
|
||||
- 7.0
|
||||
- 7.1
|
||||
- hhvm-3.6
|
||||
|
||||
cache:
|
||||
@ -21,5 +22,8 @@ script:
|
||||
- php vendor/bin/phpunit --coverage-clover=build/logs/coverage.clover
|
||||
|
||||
after_script:
|
||||
- if [[ $TRAVIS_PHP_VERSION != 'hhvm-3.6' && $TRAVIS_PHP_VERSION != '7.0' ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi
|
||||
- if [[ $TRAVIS_PHP_VERSION != 'hhvm-3.6' && $TRAVIS_PHP_VERSION != '7.0' ]]; then php ocular.phar code-coverage:upload --format=php-clover build/logs/coverage.clover; fi
|
||||
- |
|
||||
if [[ "$TRAVIS_PHP_VERSION" == '7.1' ]]; then
|
||||
wget https://scrutinizer-ci.com/ocular.phar
|
||||
php ocular.phar code-coverage:upload --format=php-clover build/logs/coverage.clover
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user