1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-04 02:28:06 +01:00
phpseclib/travis/run-phpunit.sh

21 lines
445 B
Bash
Raw Normal View History

2014-03-03 02:10:01 +01:00
#!/bin/sh
set -e
set -x
export PHPSECLIB_SSH_HOSTNAME='localhost'
export PHPSECLIB_SSH_USERNAME='phpseclib'
export PHPSECLIB_SSH_PASSWORD='EePoov8po1aethu2kied1ne0'
2014-04-02 16:23:22 +02:00
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
2014-03-03 02:10:01 +01:00
phpunit \
$PHPUNIT_EXTRA_ARGS \
2014-03-03 02:10:01 +01:00
--verbose \
--coverage-text \
--coverage-html code_coverage/