Test more Symfony versions

This commit is contained in:
Kamil Kokot
2017-11-13 17:35:05 +01:00
parent fc8f194095
commit 4dd7061457
2 changed files with 13 additions and 8 deletions

View File

@@ -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

View File

@@ -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",