.travis.install.sh 546 B

123456789101112131415
  1. #!/bin/sh
  2. set -x
  3. if [ "$TRAVIS_PHP_VERSION" = 'hhvm' ] || [ "$TRAVIS_PHP_VERSION" = 'hhvm-nightly' ] ; then
  4. curl -sS https://getcomposer.org/installer > composer-installer.php
  5. hhvm composer-installer.php
  6. hhvm -v ResourceLimit.SocketDefaultTimeout=30 -v Http.SlowQueryThreshold=30000 composer.phar update --prefer-source
  7. elif [ "$TRAVIS_PHP_VERSION" = '5.3.3' ] ; then
  8. composer self-update
  9. composer update --prefer-source --no-dev
  10. composer dump-autoload
  11. else
  12. composer self-update
  13. composer update --prefer-source
  14. fi