Skip to content

Commit

Permalink
Add support Symfony 5.0 (#31)
Browse files Browse the repository at this point in the history
* add support Symfony 5.0

* test Symfony 5 with php 7.2

* not use "symfony/framework-bundle"

* require "symfony/routing"

* use PHPUnit 6.5.* for Symfony 4.4 and 5.0

* change version of PHP for Symfony 5.0

* travis_wait composer install

* wait composer install 30 minutes

* Temporary not test Doctrine 2.4 because composer time out of execution
  • Loading branch information
peter-gribanov authored Mar 4, 2020
1 parent 0aaf2e6 commit 7e15e75
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
15 changes: 10 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,18 @@ jobs:
dist: trusty

- stage: Test Symfony
env: SYMFONY_VERSION=4.2.* PHPUNIT_VERSION=5.7.*
env: SYMFONY_VERSION=4.4.* PHPUNIT_VERSION=6.5.*
php: 7.1

- stage: Test Doctrine
env: DOCTRINE_VERSION=2.4.*
php: 5.5
dist: trusty
- stage: Test Symfony
env: SYMFONY_VERSION=5.0.* PHPUNIT_VERSION=6.5.*
php: 7.2

# Temporary not test Doctrine 2.4 because composer time out of execution
# - stage: Test Doctrine
# env: DOCTRINE_VERSION=2.4.*
# php: 5.5
# dist: trusty

- stage: Test Doctrine
env: DOCTRINE_VERSION=2.5.*
Expand Down
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@
},
"require": {
"php": ">=5.4.0",
"symfony/framework-bundle": "~2.3|~3.0|~4.0",
"symfony/expression-language": "~2.3|~3.0|~4.0",
"symfony/http-kernel": "~2.3|~3.0|~4.0|~5.0",
"symfony/dependency-injection": "~2.3|~3.0|~4.0|~5.0",
"symfony/expression-language": "~2.3|~3.0|~4.0|~5.0",
"symfony/config": "~2.3|~3.0|~4.0|~5.0",
"symfony/routing": "~2.3|~3.0|~4.0|~5.0",
"sensio/framework-extra-bundle": "~3.0|~4.0|~5.0",
"doctrine/orm": "~2.4|~2.5|~2.6",
"twig/twig": "^1.34|^2.0"
Expand Down

0 comments on commit 7e15e75

Please sign in to comment.