Skip to content

Commit

Permalink
Merge pull request #24 from pamil/symfony4
Browse files Browse the repository at this point in the history
Add support for Symfony 4
  • Loading branch information
pamil committed Feb 13, 2018
2 parents ba39640 + 91e2a29 commit 6513d8f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
16 changes: 9 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 6513d8f

Please sign in to comment.