Skip to content

Commit b17574f

Browse files
author
Fehér Zoltán
committed
Not adding APC on php7, not allowing php7 failures
1 parent d444e9b commit b17574f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ php:
1212
matrix:
1313
fast_finish: true
1414
allow_failures:
15-
- php: 7.0
1615
- php: hhvm
1716

1817
# faster builds on new travis setup not using sudo
@@ -28,7 +27,7 @@ install:
2827
- composer self-update
2928

3029
before_script:
31-
- sh -c 'if [ $(php -r "echo PHP_MINOR_VERSION;") -le 4 ]; then echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
30+
- sh -c 'if [ $(php -r "echo PHP_MINOR_VERSION;") -le 4 ] && [ $(php -r "echo PHP_MAJOR_VERSION;") -le 5 ]; then echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
3231
- composer install
3332

3433
script:

0 commit comments

Comments
 (0)