Skip to content

Commit 2d0e00b

Browse files
committed
Fix Travis builds
1 parent 41edf1c commit 2d0e00b

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.travis.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,17 @@ php:
44
- 7.1
55
- 7.2
66

7+
cache:
8+
directories:
9+
- $HOME/.composer/cache
10+
11+
services:
12+
- mysql
13+
714
install:
8-
- composer update
9-
- composer require php-coveralls/php-coveralls --dev
15+
- COMPOSER_MEMORY_LIMIT=-1 travis_retry composer install --no-interaction --prefer-dist
16+
- COMPOSER_MEMORY_LIMIT=-1 travis_retry composer require --no-interaction --prefer-dist --dev php-coveralls/php-coveralls
1017

11-
script:
12-
- vendor/bin/phpunit --coverage-clover ./tests/logs/clover.xml
18+
script: vendor/bin/phpunit --verbose --coverage-clover build/logs/clover.xml
1319

14-
after_script:
15-
- php vendor/bin/php-coveralls -v
20+
after_success: php vendor/bin/php-coveralls --verbose

0 commit comments

Comments
 (0)