Skip to content

Commit 7afa5fa

Browse files
committed
Merge pull request php-curl-class#315 from zachborboa/hhvm
Fix hhvm ci build failure by replacing nginx restart with nginx stop, nginx start
2 parents 21605f7 + 3dccf89 commit 7afa5fa

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/before_script.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
set -x
12
echo "TRAVIS_PHP_VERSION: ${TRAVIS_PHP_VERSION}"
23

34
composer self-update
@@ -54,7 +55,10 @@ server {
5455
EOF
5556
sudo /usr/share/hhvm/install_fastcgi.sh
5657
sudo /etc/init.d/hhvm restart
57-
sudo service nginx restart
58+
sleep 5
59+
sudo service nginx stop
60+
sleep 5
61+
sudo service nginx start
5862
elif [[ "${TRAVIS_PHP_VERSION}" == "nightly" ]]; then
5963
php -S 127.0.0.1:8000 -t tests/PHPCurlClass/ &
6064
fi

0 commit comments

Comments
 (0)