Skip to content

Commit ea6a323

Browse files
committed
disable gc for php 7.0 build to avoid segfault due to php bug
1 parent a1871ac commit ea6a323

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ env:
3030

3131
before_install:
3232
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "memory_limit = -1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi
33+
# hack to avoid segmentation fault because of https://bugs.php.net/bug.php?id=74843
34+
- if [ "$TRAVIS_PHP_VERSION" == "7.0" ]; then echo "zend.enable_gc = 0" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi
3335
- phpenv config-rm xdebug.ini || true
3436
- composer self-update
3537

0 commit comments

Comments
 (0)