Skip to content

Commit 6513d8f

Browse files
authored
Merge pull request #24 from pamil/symfony4
Add support for Symfony 4
2 parents ba39640 + 91e2a29 commit 6513d8f

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.travis.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,26 @@ language: php
22

33
php:
44
- 7.1
5-
- nightly
5+
- 7.2
66

7-
matrix:
8-
allow_failures:
9-
- php: nightly
10-
fast_finish: true
7+
env:
8+
- SYMFONY_VERSION=3.2.*
9+
- SYMFONY_VERSION=3.3.*
10+
- SYMFONY_VERSION=3.4.*
11+
- SYMFONY_VERSION=4.0.*
1112

1213
cache:
1314
directories:
14-
- vendor
15+
- ~/.composer/cache/files
1516

1617
before_install:
1718
- phpenv config-rm xdebug.ini || true
1819

1920
install:
21+
- composer require symfony/dependency-injection:${SYMFONY_VERSION} --no-update --no-scripts --prefer-dist
2022
- composer update --prefer-dist
2123

2224
script:
2325
- composer validate --strict
2426

25-
- vendor/bin/behat --strict
27+
- vendor/bin/behat --strict -vvv --no-interaction

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"php": "^7.1",
1313

1414
"behat/behat": "^3.1",
15-
"symfony/dependency-injection": "^2.8|^3.0"
15+
"symfony/dependency-injection": "^3.2|^4.0"
1616
},
1717
"require-dev": {
1818
"friends-of-behat/test-context": "^1.0"

0 commit comments

Comments
 (0)