Skip to content

Commit 70ef132

Browse files
committed
Merge pull request php-curl-class#238 from zachborboa/master
Start built-in web server when running nightly continuous integration tests
2 parents bf86169 + 3bf046b commit 70ef132

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/before_script.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
echo "TRAVIS_PHP_VERSION: ${TRAVIS_PHP_VERSION}"
12
if [[ "${TRAVIS_PHP_VERSION}" == "5.3" ]]; then
23
sudo add-apt-repository -y ppa:nginx/development
34
sudo apt-get update
@@ -48,4 +49,6 @@ EOF
4849
sudo /usr/share/hhvm/install_fastcgi.sh
4950
sudo /etc/init.d/hhvm restart
5051
sudo service nginx restart
52+
elif [[ "${TRAVIS_PHP_VERSION}" == "nightly" ]]; then
53+
php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ &
5154
fi

0 commit comments

Comments
 (0)