You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.2 KiB
36 lines
1.2 KiB
5 years ago
|
language: php
|
||
|
|
||
|
cache:
|
||
|
directories:
|
||
|
- $HOME/.composer/cache
|
||
|
|
||
|
matrix:
|
||
|
fast_finish: true
|
||
|
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.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.2
|
||
|
env: LARAVEL='6.*' TESTBENCH='4.*' COMPOSER_FLAGS='--prefer-lowest'
|
||
|
- php: 7.2
|
||
|
env: LARAVEL='6.*' TESTBENCH='4.*' COMPOSER_FLAGS='--prefer-stable'
|
||
|
- php: 7.3
|
||
|
env: LARAVEL='6.*' TESTBENCH='4.*' COMPOSER_FLAGS='--prefer-lowest'
|
||
|
- php: 7.3
|
||
|
env: LARAVEL='6.*' TESTBENCH='4.*' COMPOSER_FLAGS='--prefer-stable'
|
||
|
|
||
|
before_install:
|
||
|
- travis_retry composer self-update
|
||
|
- travis_retry composer require --no-update --no-interaction "illuminate/support:${LARAVEL}" "orchestra/testbench:${TESTBENCH}"
|
||
|
|
||
|
install:
|
||
|
- travis_retry composer update ${COMPOSER_FLAGS} --prefer-dist --no-interaction --no-suggest
|
||
|
|
||
|
script:
|
||
|
- vendor/bin/phpunit
|