Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update scripts to test with three versions of Symfony.
- Loading branch information
1 parent
9ecd131
commit 1833cde
Showing
20 changed files
with
6,710 additions
and
404 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,51 +1,39 @@ | ||
language: php | ||
|
||
branches: | ||
# Only test the master branch and SemVer tags. | ||
only: | ||
- master | ||
- /^[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+.*$/ | ||
|
||
matrix: | ||
fast_finish: true | ||
include: | ||
- | ||
php: 7.1 | ||
env: 'HIGHEST_LOWEST="update" STABILITY="RC"' | ||
- | ||
php: 7.1 | ||
- | ||
php: 7.0.11 | ||
- | ||
php: 5.6 | ||
- | ||
php: 5.5 | ||
env: 'HIGHEST_LOWEST="update --prefer-lowest"' | ||
- | ||
php: 5.4 | ||
env: 'HIGHEST_LOWEST="update --prefer-lowest"' | ||
- php: 7.2 | ||
env: 'SCENARIO=symfony4 HIGHEST_LOWEST="update"' | ||
- php: 7.1 | ||
env: 'SCENARIO=symfony4' | ||
- php: 7.0.11 | ||
env: 'SCENARIO=symfony3 HIGHEST_LOWEST="update"' | ||
- php: 7.0.11 | ||
- php: 5.6 | ||
- php: 5.5 | ||
- php: 5.4 | ||
env: 'SCENARIO=symfony2 HIGHEST_LOWEST="update --prefer-lowest' | ||
|
||
sudo: false | ||
|
||
cache: | ||
apt: true | ||
directories: | ||
- "$HOME/.composer/cache" | ||
- "vendor" | ||
|
||
before_install: | ||
- composer selfupdate | ||
|
||
install: | ||
# Load composer dependencies. | ||
- composer validate --no-check-all --ansi | ||
# If running a highest/lowest dependencies test, get rid of composer.lock | ||
- | | ||
if [ -n "$HIGHEST_LOWEST" ] ; then | ||
rm composer.lock | ||
composer config --unset platform.php | ||
composer config minimum-stability ${STABILITY-stable} | ||
fi | ||
- 'composer -n ${HIGHEST_LOWEST-install} --prefer-dist' | ||
- composer why symfony/console | ||
# Print out all of the installed packages in alphabetical order, with versions | ||
- composer licenses | ||
- 'composer scenario "${SCENARIO}" "${HIGHEST_LOWEST-install}"' | ||
|
||
script: | ||
- ./scripts/run-tests.sh | ||
- composer test | ||
|
||
after_success: | ||
- ./vendor/bin/coveralls -vvv | ||
- travis_retry php vendor/bin/coveralls -v |
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.