Skip to content

Commit bfa0946

Browse files
Luis PabonGuilhemN
authored andcommitted
Update travis config to test with symfony 2.8/3.0 on php 5.6/7.0
1 parent 8291dc4 commit bfa0946

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.travis.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ php:
55
- 5.4
66
- 5.5
77
- 5.6
8+
- 7.0
89
- hhvm
910
- nightly
1011

@@ -20,25 +21,26 @@ matrix:
2021
- php: 5.6
2122
env: SYMFONY_VERSION=2.6.*
2223
- php: 5.6
23-
env: SYMFONY_VERSION=2.7.*@dev
24+
env: SYMFONY_VERSION=2.7.*
2425
- php: 5.6
25-
env: SYMFONY_VERSION=2.8.*@dev
26+
env: SYMFONY_VERSION=2.8.*
27+
- php: 7.0
28+
env: SYMFONY_VERSION=2.8.*
2629
- php: 5.6
27-
env: SYMFONY_VERSION="3.0.x-dev as 2.6"
30+
env: SYMFONY_VERSION=3.0.*
31+
- php: 7.0
32+
env: SYMFONY_VERSION=3.0.*
2833
allow_failures:
2934
- php: hhvm
3035
- php: nightly
31-
- env: SYMFONY_VERSION=2.7.*@dev
32-
- env: SYMFONY_VERSION=2.8.*@dev
33-
- env: SYMFONY_VERSION="3.0.x-dev as 2.6"
3436

3537
cache:
3638
directories:
3739
- vendor
3840
- $HOME/.composer/cache
3941

4042
before_script:
41-
- echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
43+
- echo "extension = mongo.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
4244
- composer selfupdate
4345
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;
4446
- composer update --prefer-dist --no-interaction $COMPOSER_FLAGS

0 commit comments

Comments
 (0)