Skip to content

Commit

Permalink
Improve .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-ivanov committed Sep 12, 2019
1 parent fa4b526 commit 895d280
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@ language: php
php:
- 7.1
- 7.2
- 7.3

cache:
directories:
- $HOME/.composer/cache

install:
- composer update
- composer require php-coveralls/php-coveralls --dev
- travis_retry composer install --no-interaction --prefer-dist
- travis_retry composer require --no-interaction --prefer-dist --dev php-coveralls/php-coveralls

script: vendor/bin/phpunit --verbose --coverage-clover build/logs/clover.xml

after_script:
- php vendor/bin/php-coveralls -v
after_success: php vendor/bin/php-coveralls --verbose

0 comments on commit 895d280

Please sign in to comment.