Add hhvm-nightly build and use trusty for hhvm builds

This commit is contained in:
Zach Borboa
2017-06-28 04:43:48 -07:00
parent 6d0fc0453b
commit c16ce49f4f
2 changed files with 14 additions and 11 deletions
+13 -10
View File
@@ -1,19 +1,22 @@
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
- nightly
matrix:
allow_failures:
- php: hhvm
- php: hhvm-nightly
- php: nightly
include:
- php: 5.3
- php: 5.4
- php: 5.5
- php: 5.6
- php: 7.0
- php: 7.1
- php: hhvm
dist: trusty
- php: hhvm-nightly
dist: trusty
- nightly
before_script:
- bash tests/before_script.sh
+1 -1
View File
@@ -66,7 +66,7 @@ elif [[ "${TRAVIS_PHP_VERSION}" == "7.0" ]]; then
php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ &
elif [[ "${TRAVIS_PHP_VERSION}" == "7.1" ]]; then
php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ &
elif [[ "${TRAVIS_PHP_VERSION}" == "hhvm" ]]; then
elif [[ "${TRAVIS_PHP_VERSION}" == "hhvm" || "${TRAVIS_PHP_VERSION}" == "hhvm-nightly" ]]; then
sudo add-apt-repository -y ppa:nginx/stable
sudo apt-get update
sudo apt-get install -y nginx