diff --git a/.travis.yml b/.travis.yml index 672022e..461f577 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,15 +13,13 @@ env: - COMPOSER_OPTS="" - COMPOSER_OPTS="--prefer-lowest" -matrix: - fast_finish: true - -install: - - travis_retry composer install --no-interaction --prefer-source $COMPOSER_OPTS +before_script: + - travis_retry composer self-update + - travis_retry composer update $COMPOSER_OPTS script: - - bin/phpunit --coverage-text --coverage-clover coverage.xml + - php vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover after_script: - wget https://scrutinizer-ci.com/ocular.phar - - if [ "$TRAVIS_PHP_VERSION" != "hhvm" ] && [ "$TRAVIS_PHP_VERSION" != "7.0" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.xml; fi + - if [ "$TRAVIS_PHP_VERSION" != "hhvm" ] && [ "$TRAVIS_PHP_VERSION" != "7.0" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.xml; fi \ No newline at end of file