diff --git a/.travis.yml b/.travis.yml index 928b259..9e39109 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,7 @@ language: php php: - - 5.5.9 - - 5.5 - - 5.6 - - 7.0 - - hhvm + - 7.2 env: matrix: @@ -18,8 +14,8 @@ before_script: script: - vendor/bin/phpunit - - if [ "$TRAVIS_PHP_VERSION" == "5.5.9" ] || [ "$TRAVIS_PHP_VERSION" == "5.5" ] || [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then vendor/bin/phpunit --coverage-clover build/logs/clover.xml; fi + - vendor/bin/phpunit --coverage-clover build/logs/clover.xml after_script: - - if [ "$TRAVIS_PHP_VERSION" == "5.5.9" ] || [ "$TRAVIS_PHP_VERSION" == "5.5" ] || [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi - - if [ "$TRAVIS_PHP_VERSION" == "5.5.9" ] || [ "$TRAVIS_PHP_VERSION" == "5.5" ] || [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml; fi + - wget https://scrutinizer-ci.com/ocular.phar + - php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml