Merge pull request #20 from pamil/test-more-symfony-versions

Test more Symfony versions
This commit is contained in:
Kamil Kokot
2017-11-13 17:59:59 +01:00
committed by GitHub
2 changed files with 13 additions and 8 deletions

View File

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

View File

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