Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Commit 25ea0c0

Browse files
use travis_retry on composer require/install
1 parent 13ed470 commit 25ea0c0

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,11 @@ matrix:
2525
- php: 7.2
2626
env: ILLUMINATE_VERSION=5.6.*
2727

28-
before_install:
29-
- composer require "illuminate/database:${ILLUMINATE_VERSION}" --no-update -v
30-
- composer require "illuminate/events:${ILLUMINATE_VERSION}" --no-update -v
28+
before_install: travis_retry composer require "illuminate/database:${ILLUMINATE_VERSION}" "illuminate/events:${ILLUMINATE_VERSION}" --no-update -v
3129

3230
install: composer update --prefer-source --no-interaction --dev -v
3331

34-
script: vendor/bin/phpunit --debug -c phpunit.xml --coverage-clover=coverage.clover
32+
install: travis_retry composer install --prefer-dist --no-interaction --no-suggest -v
3533

3634
after_script:
3735
- wget https://scrutinizer-ci.com/ocular.phar

0 commit comments

Comments
 (0)