Test more Symfony versions
This commit is contained in:
15
.travis.yml
15
.travis.yml
@@ -2,12 +2,11 @@ language: php
|
|||||||
|
|
||||||
php:
|
php:
|
||||||
- 7.1
|
- 7.1
|
||||||
- nightly
|
|
||||||
|
|
||||||
matrix:
|
env:
|
||||||
allow_failures:
|
- SYMFONY_VERSION=~3.3.0
|
||||||
- php: nightly
|
- SYMFONY_VERSION=~3.4.0 MINIMUM_STABILITY=beta
|
||||||
fast_finish: true
|
- SYMFONY_VERSION=~4.0.0 MINIMUM_STABILITY=beta
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
@@ -16,6 +15,12 @@ cache:
|
|||||||
before_install:
|
before_install:
|
||||||
- phpenv config-rm xdebug.ini || true
|
- phpenv config-rm xdebug.ini || true
|
||||||
|
|
||||||
|
- |
|
||||||
|
if [[ ! -z $MINIMUM_STABILITY ]]; then
|
||||||
|
composer config minimum-stability $MINIMUM_STABILITY
|
||||||
|
fi
|
||||||
|
- composer require --no-update symfony/http-kernel:$SYMFONY_VERSION symfony/framework-bundle:$SYMFONY_VERSION
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- composer update --prefer-dist
|
- composer update --prefer-dist
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "friends-of-behat/symfony-extension",
|
"name": "friends-of-behat/symfony-extension",
|
||||||
"description": "Integrates Behat with Symfony (both 2 and 3).",
|
"description": "Integrates Behat with Symfony.",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
"php": "^7.1",
|
"php": "^7.1",
|
||||||
|
|
||||||
"behat/behat": "^3.1",
|
"behat/behat": "^3.1",
|
||||||
"symfony/http-kernel": "^3.0"
|
"symfony/http-kernel": "^3.3|^4.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"behat/mink": "^1.7",
|
"behat/mink": "^1.7",
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
"behat/mink-extension": "^2.2",
|
"behat/mink-extension": "^2.2",
|
||||||
"friends-of-behat/cross-container-extension": "^1.0",
|
"friends-of-behat/cross-container-extension": "^1.0",
|
||||||
"friends-of-behat/test-context": "^1.0",
|
"friends-of-behat/test-context": "^1.0",
|
||||||
"symfony/framework-bundle": "^3.0"
|
"symfony/framework-bundle": "^3.3|^4.0"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
"behat/mink-browserkit-driver": "^1.3",
|
"behat/mink-browserkit-driver": "^1.3",
|
||||||
|
|||||||
Reference in New Issue
Block a user