travis-install.sh 354 B

123456789101112
  1. #!/usr/bin/env bash
  2. set -e
  3. curl -sSfL -o ~/.phpenv/versions/hhvm/bin/phpunit https://phar.phpunit.de/phpunit-7.5.9.phar
  4. composer install --no-interaction --prefer-source
  5. if [ $INSTALL_LIBSODIUM = true ]; then
  6. sudo add-apt-repository ppa:ondrej/php -y
  7. sudo apt-get update && sudo apt-get install libsodium-dev -y
  8. pecl install libsodium-2.0.11
  9. fi