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