Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Commit

Permalink
Symfony 5 compatiblity
Browse files Browse the repository at this point in the history
  • Loading branch information
cdaguerre committed Mar 17, 2020
1 parent 80f7849 commit 157ff8c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
28 changes: 13 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,26 @@ cache:
directories:
- $HOME/.composer/cache/files

php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- hhvm

matrix:
include:
- php: 5.3
dist: precise
- php: 5.5
dist: trusty
- php: 5.6
dist: trusty
- php: 7.1
- php: 7.2
- php: 7.3
- php: 7.4
env: SYMFONY_VERSION='^2'
- php: 7.2
- php: 7.4
env: SYMFONY_VERSION='^3'
# Test against dev dependencies
- php: 7.2
env: DEPS=dev

- php: 7.4
env: DEPS=dev


before_install:
- echo "memory_limit=2G" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- if [ "$SYMFONY_VERSION" != "" ]; then composer require --no-update symfony/lts=$SYMFONY_VERSION; fi;
- if [ "$DEPS" = 'dev' ]; then composer config minimum-stability dev; fi;

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"php": ">=5.3.2",
"behat/behat": "^3.0.5",
"behat/mink": "^1.5",
"symfony/config": "^2.7|^3.0|^4.0"
"symfony/config": "^2.7|^3.0|^4.0|^5.0"
},

"require-dev": {
Expand Down

0 comments on commit 157ff8c

Please sign in to comment.