Merge pull request #617 from zachborboa/php74

Add PHP 7.4 to continuous integration tests
This commit is contained in:
Zach Borboa
2020-02-19 18:34:09 -08:00
committed by GitHub
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -25,6 +25,8 @@ matrix:
dist: trusty
- php: 7.3
dist: trusty
- php: 7.4
dist: xenial
- php: hhvm
dist: trusty
- php: hhvm-nightly
+2
View File
@@ -168,6 +168,8 @@ elif [[ "${TRAVIS_PHP_VERSION}" == "7.2" ]]; then
php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ &
elif [[ "${TRAVIS_PHP_VERSION}" == "7.3" ]]; then
php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ &
elif [[ "${TRAVIS_PHP_VERSION}" == "7.4" ]]; then
php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ &
elif [[ "${TRAVIS_PHP_VERSION}" == "hhvm" || "${TRAVIS_PHP_VERSION}" == "hhvm-nightly" ]]; then
curl "https://nginx.org/keys/nginx_signing.key" | sudo apt-key add -
echo "deb https://nginx.org/packages/mainline/ubuntu/ trusty nginx" | sudo tee -a /etc/apt/sources.list