php-vfs/.travis.install.sh

10 lines
392 B
Bash
Raw Normal View History

2014-07-06 16:34:47 +00:00
set -x
if [ "$TRAVIS_PHP_VERSION" = 'hhvm' ] || [ "$TRAVIS_PHP_VERSION" = 'hhvm-nightly' ]; then
curl -sS https://getcomposer.org/installer > composer-installer.php
hhvm composer-installer.php
hhvm -v ResourceLimit.SocketDefaultTimeout=30 -v Http.SlowQueryThreshold=30000 composer.phar install --prefer-source
else
composer self-update
composer install --prefer-source
fi