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
Showing
4 changed files
with
39 additions
and
22 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
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,33 +1,44 @@ | ||
dist: trusty | ||
sudo: false | ||
language: php | ||
|
||
php: | ||
- 7.1 | ||
- 7.2 | ||
|
||
env: | ||
- ILLUMINATE_VERSION=5.6.* | ||
|
||
matrix: | ||
fast_finish: true | ||
|
||
cache: | ||
directories: | ||
- $HOME/.composer/cache | ||
|
||
matrix: | ||
fast_finish: true | ||
include: | ||
- php: 7.1 | ||
env: LARAVEL='5.5.*' TESTBENCH='3.5.*' | ||
- php: 7.1 | ||
env: LARAVEL='5.6.*' TESTBENCH='3.6.*' | ||
- php: 7.1 | ||
env: LARAVEL='5.7.*' TESTBENCH='3.7.*' | ||
- php: 7.2 | ||
env: LARAVEL='5.5.*' TESTBENCH='3.5.*' | ||
- php: 7.2 | ||
env: LARAVEL='5.6.*' TESTBENCH='3.6.*' | ||
- php: 7.2 | ||
env: LARAVEL='5.7.*' TESTBENCH='3.7.*' COVERAGE=1 | ||
- php: 7.3 | ||
env: LARAVEL='5.5.*' TESTBENCH='3.5.*' | ||
- php: 7.3 | ||
env: LARAVEL='5.6.*' TESTBENCH='3.6.*' | ||
- php: 7.3 | ||
env: LARAVEL='5.7.*' TESTBENCH='3.7.*' | ||
|
||
before_install: | ||
- travis_retry composer self-update | ||
- travis_retry composer require "illuminate/contracts:${ILLUMINATE_VERSION}" --no-update | ||
- travis_retry composer require "illuminate/support:${ILLUMINATE_VERSION}" --no-update | ||
- travis_retry composer require --no-update --no-interaction "illuminate/support:${LARAVEL}" "orchestra/testbench:${TESTBENCH}" | ||
|
||
install: | ||
- travis_retry composer update --no-interaction --prefer-dist $COMPOSER_ARGS | ||
- travis_retry composer update --no-interaction --no-suggest --prefer-dist $COMPOSER_ARGS | ||
|
||
script: | ||
- php vendor/bin/phpcs | ||
- php vendor/bin/phpunit --coverage-clover=build/logs/clover.xml | ||
|
||
after_success: | ||
- travis_retry composer require php-coveralls/php-coveralls | ||
- travis_retry php vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v | ||
- if [[ $COVERAGE = '1' ]]; then | ||
travis_retry composer require php-coveralls/php-coveralls; | ||
travis_retry php vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v; | ||
fi |
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