Skip to content

Commit 54d5abb

Browse files
authored
Travis: removing hhvm, tweaking allow_failures, fixing DEPENDENCIES handling
1 parent 012271c commit 54d5abb

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.travis.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ php:
55
- 5.6
66
- 7.0
77
- 7.1
8-
- hhvm
98

109
env:
1110
global:
@@ -25,9 +24,7 @@ matrix:
2524
- php: 7.1
2625
env: STABILITY="dev"
2726
allow_failures:
28-
- php: 7.1
29-
env: STABILITY="dev"
30-
- php: hhvm
27+
- env: STABILITY="dev"
3128

3229
sudo: false
3330

@@ -37,8 +34,8 @@ cache:
3734

3835
before_install:
3936
- if [[ -v $STABILITY ]]; then composer config minimum-stability $STABILITY; fi;
40-
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;
41-
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "memory_limit=2G" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi;
37+
- if [[ -v $DEPENDENCIES ]]; then composer require --no-update $DEPENDENCIES; fi;
38+
- echo "memory_limit=2G" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
4239

4340
install: composer update --prefer-dist --no-interaction $COMPOSER_FLAGS
4441

0 commit comments

Comments
 (0)