Skip to content

Commit c0f37c1

Browse files
committed
Improve .travis.yml
1 parent 6768ad6 commit c0f37c1

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.travis.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,19 @@ language: php
33
php:
44
- 7.1
55
- 7.2
6+
- 7.3
7+
8+
cache:
9+
directories:
10+
- $HOME/.composer/cache
611

712
services:
813
- mysql
914

1015
install:
11-
- composer update
12-
- composer require php-coveralls/php-coveralls --dev
16+
- travis_retry composer install --no-interaction --prefer-dist
17+
- travis_retry composer require --no-interaction --prefer-dist --dev php-coveralls/php-coveralls
1318

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

16-
after_script:
17-
- php vendor/bin/php-coveralls -v
21+
after_success: php vendor/bin/php-coveralls --verbose

0 commit comments

Comments
 (0)