mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-31 12:43:14 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user