12 lines
561 B
Bash
12 lines
561 B
Bash
|
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 update --prefer-source
|
||
|
hhvm -v ResourceLimit.SocketDefaultTimeout=30 -v Http.SlowQueryThreshold=30000 composer.phar install --dev --prefer-source
|
||
|
else
|
||
|
composer self-update
|
||
|
composer update --prefer-source
|
||
|
composer install --dev --prefer-source
|
||
|
fi
|