Skip to content

Commit

Permalink
Tweak Travis config.
Browse files Browse the repository at this point in the history
  • Loading branch information
reinink committed Jun 26, 2015
1 parent 560a18e commit 46df9a2
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 46df9a2

Please sign in to comment.