mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-16 02:07:09 +00:00
Prevent segfault on PHP 5.3.3 by disabling GC.
This commit is contained in:
parent
652788ac34
commit
c391f52221
@ -7,7 +7,14 @@ export PHPSECLIB_SSH_USERNAME='phpseclib'
|
|||||||
export PHPSECLIB_SSH_PASSWORD='EePoov8po1aethu2kied1ne0'
|
export PHPSECLIB_SSH_PASSWORD='EePoov8po1aethu2kied1ne0'
|
||||||
export PHPSECLIB_SSH_HOME='/home/phpseclib'
|
export PHPSECLIB_SSH_HOME='/home/phpseclib'
|
||||||
|
|
||||||
|
PHPUNIT_EXTRA_ARGS=''
|
||||||
|
if [ "$TRAVIS_PHP_VERSION" = '5.3.3' ]
|
||||||
|
then
|
||||||
|
PHPUNIT_EXTRA_ARGS="$PHPUNIT_EXTRA_ARGS -d zend.enable_gc=0"
|
||||||
|
fi
|
||||||
|
|
||||||
phpunit \
|
phpunit \
|
||||||
|
$PHPUNIT_EXTRA_ARGS \
|
||||||
--verbose \
|
--verbose \
|
||||||
--coverage-text \
|
--coverage-text \
|
||||||
--coverage-html code_coverage/
|
--coverage-html code_coverage/
|
||||||
|
Loading…
Reference in New Issue
Block a user