diff --git a/.travis.yml b/.travis.yml index 67e67e2..6850319 100644 --- a/.travis.yml +++ b/.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 diff --git a/composer.json b/composer.json index 2b1e880..2152b6f 100644 --- a/composer.json +++ b/composer.json @@ -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",