This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
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
b1b673b
commit 1457ade
Showing
5 changed files
with
808 additions
and
401 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,69 +1,14 @@ | ||
language: php | ||
sudo: false | ||
|
||
php: | ||
- 7.2 | ||
- 7.3 | ||
|
||
env: | ||
global: | ||
- setup=basic | ||
- coverage=no | ||
matrix: | ||
- laravel=5.6.* | ||
- laravel=5.7.* | ||
- laravel=5.8.* | ||
- laravel=dev-master | ||
- setup=lowest laravel=5.6.* | ||
- setup=lowest laravel=5.7.* | ||
- setup=lowest laravel=5.8.* | ||
- setup=lowest laravel=dev-master | ||
- setup=stable laravel=5.6.* | ||
- setup=stable laravel=5.7.* | ||
- setup=stable laravel=5.8.* | ||
- setup=stable laravel=dev-master | ||
|
||
before_install: | ||
- composer config discard-changes true | ||
|
||
before_script: | ||
- composer require "laravel/framework=${laravel}" --prefer-dist --no-interaction --no-suggest | ||
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --no-suggest --prefer-stable; fi | ||
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --no-suggest --prefer-lowest --prefer-stable; fi | ||
- if [[ $setup = 'coveralls' ]]; then travis_retry composer require "php-coveralls/php-coveralls=^2.1" --prefer-dist --no-interaction --no-suggest --dev; fi | ||
- travis_retry composer install --prefer-dist --no-interaction | ||
|
||
script: | ||
- if [[ $coverage = 'yes' ]]; then vendor/bin/phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml; fi | ||
- if [[ $coverage = 'no' ]]; then vendor/bin/phpunit -c phpunit.xml; fi | ||
cache: | ||
directories: | ||
- vendor | ||
|
||
after_script: | ||
- if [[ $setup = 'coveralls' ]]; then php vendor/bin/php-coveralls -v; fi | ||
|
||
matrix: | ||
include: | ||
- php: 7.1 | ||
env: setup=basic laravel=5.6.* | ||
- php: 7.1 | ||
env: setup=basic laravel=5.7.* | ||
- php: 7.1 | ||
env: setup=basic laravel=5.8.* | ||
- php: 7.1 | ||
env: setup=lowest laravel=5.6.* | ||
- php: 7.1 | ||
env: setup=lowest laravel=5.7.* | ||
- php: 7.1 | ||
env: setup=lowest laravel=5.8.* | ||
- php: 7.1 | ||
env: setup=stable laravel=5.6.* | ||
- php: 7.1 | ||
env: setup=stable laravel=5.7.* | ||
- php: 7.1 | ||
env: setup=stable laravel=5.8.* | ||
- php: 7.1 | ||
env: setup=coveralls coverage=yes laravel=5.6.* | ||
allow_failures: | ||
- env: laravel=dev-master | ||
- env: setup=lowest laravel=dev-master | ||
- env: setup=stable laravel=dev-master | ||
- env: setup=coveralls coverage=yes laravel=5.6.* | ||
fast_finish: true | ||
script: | ||
- vendor/bin/phpunit --testdox --verbose |
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
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
Oops, something went wrong.