Merge pull request #315 from zachborboa/hhvm

Fix hhvm ci build failure by replacing nginx restart with nginx stop, nginx start
This commit is contained in:
Zach Borboa
2016-03-28 03:56:13 -07:00
+5 -1
View File
@@ -1,3 +1,4 @@
set -x
echo "TRAVIS_PHP_VERSION: ${TRAVIS_PHP_VERSION}"
composer self-update
@@ -54,7 +55,10 @@ server {
EOF
sudo /usr/share/hhvm/install_fastcgi.sh
sudo /etc/init.d/hhvm restart
sudo service nginx restart
sleep 5
sudo service nginx stop
sleep 5
sudo service nginx start
elif [[ "${TRAVIS_PHP_VERSION}" == "nightly" ]]; then
php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ &
fi