-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow symfony 5, drop symfony 2 and php 5
- Loading branch information
Showing
5 changed files
with
424 additions
and
1,501 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,28 +1,36 @@ | ||
language: php | ||
|
||
php: | ||
- 5.6 | ||
- 7.0 | ||
- 7.1 | ||
- 7.2 | ||
- 7.3 | ||
- 7.4 | ||
|
||
matrix: | ||
include: | ||
- php: 5.6 | ||
env: COMPOSER_FLAGS="--prefer-lowest" | ||
- php: 7.0 | ||
env: SYMFONY_REQUIRE=3.4.* COMPOSER_FLAGS="--prefer-lowest" | ||
- php: 7.4 | ||
env: SYMFONY_REQUIRE=4.3.* | ||
- php: 7.4 | ||
env: SYMFONY_REQUIRE=4.4.* | ||
- php: 7.4 | ||
env: SYMFONY_REQUIRE=5.0.* | ||
|
||
branches: | ||
only: | ||
- master | ||
# Build maintenance branches for older releases if needed. such branches should be named like "1.2" | ||
- '/^\d+\.\d+$/' | ||
|
||
before_script: | ||
# Install deps | ||
- composer update $COMPOSER_FLAGS --dev --prefer-source --no-interaction | ||
- bash -c "if [[ '$TRAVIS_PHP_VERSION' == '7.'* ]] ; then wget https://phar.phpunit.de/phpunit-5.7.phar; fi" | ||
before_install: | ||
- composer global require --no-progress --no-scripts --no-plugins symfony/flex | ||
|
||
install: | ||
- composer update $COMPOSER_FLAGS --no-interaction | ||
- vendor/bin/simple-phpunit install | ||
|
||
script: | ||
- bash -c "if [[ '$TRAVIS_PHP_VERSION' == '7.'* ]] ; then php phpunit-5.7.phar; fi" | ||
- sh -c "if [ '$TRAVIS_PHP_VERSION' \< '7' ]; then phpunit; fi" | ||
- composer validate --strict --no-check-lock | ||
- vendor/bin/simple-phpunit |
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.