-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from mybuilder/symfony-4-upgrade-fix
Add Symfony 4 support, fix Symfony 3/4 deprecation notices and drop support for Symfony 2 (and PHP < 7.3)
- Loading branch information
Showing
18 changed files
with
184 additions
and
152 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,18 +1,32 @@ | ||
language: php | ||
|
||
php: | ||
- 7.0 | ||
- 7.3 | ||
cache: | ||
directories: | ||
- $HOME/.composer/cache/files | ||
- .phpunit | ||
|
||
env: | ||
- SYMFONY_VERSION=2.7.* | ||
- SYMFONY_VERSION=3.0.* | ||
- SYMFONY_VERSION=3.4.* | ||
- SYMFONY_VERSION=4.0.* | ||
- SYMFONY_VERSION=4.2.* | ||
global: | ||
- SYMFONY_PHPUNIT_DIR=.phpunit | ||
|
||
before_script: | ||
- composer update symfony/console:${SYMFONY_VERSION} | ||
- composer update symfony/framework-bundle:${SYMFONY_VERSION} | ||
matrix: | ||
fast_finish: true | ||
include: | ||
- php: 7.3 | ||
env: SYMFONY_VERSION="3.4.*" | ||
- php: 7.3 | ||
env: SYMFONY_VERSION="4.4.*" | ||
- php: 7.4 | ||
env: SYMFONY_VERSION="3.4.*" | ||
- php: 7.4 | ||
env: SYMFONY_VERSION="4.4.*" | ||
|
||
script: bin/phpunit | ||
before_install: | ||
- composer self-update | ||
- if [ "$SYMFONY_VERSION" != "" ]; then composer require --dev --no-update symfony/framework-bundle:"${SYMFONY_VERSION}"; fi | ||
- if [ "$SYMFONY_VERSION" != "" ]; then composer require --dev --no-update symfony/console:"${SYMFONY_VERSION}"; fi | ||
|
||
install: | ||
- composer update $COMPOSER_FLAGS | ||
|
||
script: bin/phpunit -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
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
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
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
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.