diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 42f2492..ef177ea 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -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: diff --git a/.travis.yml b/.travis.yml index 631cd13..3c17614 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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