Skip to content

Commit a388c43

Browse files
committed
update Travis CI configuration
1 parent d7660b8 commit a388c43

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.travis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ language: php
22

33
sudo: false
44

5+
cache:
6+
directories:
7+
- $HOME/.composer/cache/files
8+
59
matrix:
610
include:
711
- php: 5.3
@@ -12,10 +16,9 @@ matrix:
1216
env: deps=low
1317
- php: 5.6
1418
env: deps=high
15-
- php: nightly
19+
- php: 7.0
1620
- php: hhvm
1721
allow_failures:
18-
- php: nightly
1922
- php: hhvm
2023
fast_finish: true
2124

@@ -25,8 +28,8 @@ env:
2528
- SYMFONY_DEPRECATIONS_HELPER=weak
2629

2730
before_install:
28-
- composer self-update
2931
- if [[ "$TRAVIS_PHP_VERSION" != "nightly" ]] && [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then phpenv config-rm xdebug.ini; fi;
32+
- composer self-update
3033
- if [[ "$TRAVIS_PHP_VERSION" != "nightly" ]] && [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]] && [ $(php -r "echo PHP_MINOR_VERSION;") -le 4 ]; then echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;
3134
- if [[ "$TRAVIS_PHP_VERSION" != "nightly" ]] && [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then php -i; fi;
3235
# Set the COMPOSER_ROOT_VERSION to the right version according to the branch being built

0 commit comments

Comments
 (0)