diff --git a/.travis.yml b/.travis.yml index ae27111..b1a706c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,24 +2,26 @@ language: php php: - 7.1 - - nightly + - 7.2 -matrix: - allow_failures: - - php: nightly - fast_finish: true +env: + - SYMFONY_VERSION=3.2.* + - SYMFONY_VERSION=3.3.* + - SYMFONY_VERSION=3.4.* + - SYMFONY_VERSION=4.0.* cache: directories: - - vendor + - ~/.composer/cache/files before_install: - phpenv config-rm xdebug.ini || true install: + - composer require symfony/dependency-injection:${SYMFONY_VERSION} --no-update --no-scripts --prefer-dist - composer update --prefer-dist script: - composer validate --strict - - vendor/bin/behat --strict + - vendor/bin/behat --strict -vvv --no-interaction diff --git a/composer.json b/composer.json index e4ffedd..72e21db 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ "php": "^7.1", "behat/behat": "^3.1", - "symfony/dependency-injection": "^2.8|^3.0" + "symfony/dependency-injection": "^3.2|^4.0" }, "require-dev": { "friends-of-behat/test-context": "^1.0"