Skip to content

Commit 180cbd4

Browse files
committed
add travis_retry;
1 parent e657497 commit 180cbd4

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.travis.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
language: php
2-
php:
3-
- 7.1
4-
- 7.2
5-
- nightly
2+
php: [ 7.1, 7.2, nightly ]
63
sudo: false
74

85
env:
@@ -13,7 +10,7 @@ matrix:
1310
- php: nightly
1411

1512
install:
16-
- composer install --no-interaction --prefer-dist --optimize-autoloader
13+
- travis_retry composer install --no-interaction --prefer-dist --optimize-autoloader
1714

1815
script:
1916
- ./vendor/bin/phpunit --no-coverage
@@ -23,7 +20,7 @@ jobs:
2320
- stage: coverage
2421
php: 7.1
2522
script:
26-
- vendor/bin/phpunit
23+
- ./vendor/bin/phpunit
2724
after_script:
2825
- wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
2926
- wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar && php coveralls.phar --verbose

0 commit comments

Comments
 (0)