mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-25 11:20:03 +00:00
Extend segfault workaround to PHP versions below 5.4.
This commit is contained in:
parent
a7f625c6f3
commit
96b7baa9f1
@ -15,7 +15,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
PHPUNIT_EXTRA_ARGS=''
|
PHPUNIT_EXTRA_ARGS=''
|
||||||
if [ "$TRAVIS_PHP_VERSION" = '5.3.3' ]
|
if [ `php -r "echo (int) version_compare(PHP_VERSION, '5.4', '<');"` = "1" ]
|
||||||
then
|
then
|
||||||
PHPUNIT_EXTRA_ARGS="$PHPUNIT_EXTRA_ARGS -d zend.enable_gc=0"
|
PHPUNIT_EXTRA_ARGS="$PHPUNIT_EXTRA_ARGS -d zend.enable_gc=0"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user