From 46df9a22e2854ea919ccafb50c3306bdf309fbe8 Mon Sep 17 00:00:00 2001 From: Jonathan Reinink Date: Fri, 26 Jun 2015 14:25:54 -0400 Subject: [PATCH] Tweak Travis config. --- .travis.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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