-
-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cf2c9a4
commit 3adf8ca
Showing
1 changed file
with
34 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,39 @@ | ||
cache: | ||
directories: | ||
- $HOME/.composer/cache | ||
|
||
language: php | ||
|
||
php: | ||
- 7.2 | ||
- 7.3 | ||
env: | ||
global: | ||
- COVERAGE=0 | ||
|
||
matrix: | ||
include: | ||
- php: 7.2 | ||
env: LARAVEL='5.8.*' TESTBENCH='3.8.*' COMPOSER_FLAGS='--prefer-lowest' | ||
- php: 7.2 | ||
env: LARAVEL='5.8.*' TESTBENCH='3.8.*' COMPOSER_FLAGS='--prefer-stable' | ||
- php: 7.2 | ||
env: LARAVEL='6.0.*' TESTBENCH='4.0.*' COMPOSER_FLAGS='--prefer-lowest' | ||
- php: 7.2 | ||
env: LARAVEL='6.0.*' TESTBENCH='4.0.*' COMPOSER_FLAGS='--prefer-stable' | ||
- php: 7.3 | ||
env: LARAVEL='5.8.*' TESTBENCH='3.8.*' COMPOSER_FLAGS='--prefer-lowest' | ||
- php: 7.3 | ||
env: LARAVEL='5.8.*' TESTBENCH='3.8.*' COMPOSER_FLAGS='--prefer-stable' | ||
- php: 7.3 | ||
env: LARAVEL='6.0.*' TESTBENCH='4.0.*' COMPOSER_FLAGS='--prefer-lowest' | ||
- php: 7.3 | ||
env: LARAVEL='6.0.*' TESTBENCH='4.0.*' COMPOSER_FLAGS='--prefer-stable' | ||
fast_finish: true | ||
|
||
before_script: | ||
- travis_retry composer self-update | ||
- travis_retry composer install --prefer-source --no-interaction --dev | ||
- composer config discard-changes true | ||
|
||
before_install: | ||
- travis_retry composer self-update | ||
- travis_retry composer require "laravel/framework:${LARAVEL}" "orchestra/testbench:${TESTBENCH}" --no-interaction --no-update | ||
|
||
script: vendor/bin/phpunit | ||
install: | ||
- travis_retry composer update ${COMPOSER_FLAGS} --prefer-dist --no-interaction --no-suggest |