Skip to content

Commit

Permalink
[Travis] Update config
Browse files Browse the repository at this point in the history
  • Loading branch information
francoispluchino committed May 1, 2019
1 parent fbaf7e4 commit 985c95e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ matrix:

before_script:
- |
composer global require --prefer-source "phpunit/phpunit:^6.5.0" "satooshi/php-coveralls:^1.0.0"
composer global require --prefer-source phpunit/phpunit:"^6.5.0" php-coveralls/php-coveralls:^2.1.0
composer install --prefer-source
mkdir -p ./build/logs
script:
- |
~/.composer/vendor/bin/phpunit -v --coverage-clover ./build/logs/clover.xml
after_script:
after_success:
- |
echo "coverage_clover: build/logs/clover.xml" >>./.coveralls.yml
if [ "$TRAVIS_PHP_VERSION" != nightly ]; then php ~/.composer/vendor/bin/coveralls -v; fi
if [ "$TRAVIS_PHP_VERSION" != nightly ]; then php ~/.composer/vendor/bin/php-coveralls -v; fi
notifications:
email: false

0 comments on commit 985c95e

Please sign in to comment.