Skip to content

Commit 04c9e28

Browse files
authored
Merge pull request #375 from symfony-cmf/php-7-gc-bug
disable gc for php 7.0 build to avoid segfault due to php bug
2 parents a1871ac + ea6a323 commit 04c9e28

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)