From f58366785c650598221e4fda2ea162eb8c458c8d Mon Sep 17 00:00:00 2001 From: Zach Borboa Date: Sat, 16 Jan 2016 02:59:46 -0800 Subject: [PATCH] Start built-in web server for php 7.0 continuous integration tests --- tests/before_script.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/before_script.sh b/tests/before_script.sh index 59d0da5..471e443 100755 --- a/tests/before_script.sh +++ b/tests/before_script.sh @@ -34,6 +34,8 @@ elif [[ "${TRAVIS_PHP_VERSION}" == "5.5" ]]; then php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ & elif [[ "${TRAVIS_PHP_VERSION}" == "5.6" ]]; then php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ & +elif [[ "${TRAVIS_PHP_VERSION}" == "7.0" ]]; then + php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ & elif [[ "${TRAVIS_PHP_VERSION}" == "hhvm" ]]; then sudo add-apt-repository -y ppa:nginx/stable sudo apt-get update