mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-09-07 00:35:10 +00:00
Add hhvm-nightly build and use trusty for hhvm builds
This commit is contained in:
+13
-10
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user