summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornashe <thomas@chauchefoin.fr>2017-07-16 17:41:20 +0200
committernashe <thomas@chauchefoin.fr>2017-07-16 17:41:20 +0200
commit73cd15e7123627f695f46bc9f165adf03f90f9bf (patch)
treeae19adedf780b81c38c41096a20fb09b531e4a80
parent475016d5199e3e784f3768ee6e6b07847788deab (diff)
downloadplanet-73cd15e7123627f695f46bc9f165adf03f90f9bf.tar
planet-73cd15e7123627f695f46bc9f165adf03f90f9bf.tar.gz
planet-73cd15e7123627f695f46bc9f165adf03f90f9bf.tar.bz2
planet-73cd15e7123627f695f46bc9f165adf03f90f9bf.tar.xz
planet-73cd15e7123627f695f46bc9f165adf03f90f9bf.zip
Run the built-in web servers in a subshell
-rw-r--r--.travis.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index f3eb2cf..d6f7c36 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -21,8 +21,8 @@ before_deploy:
- tar czvf moonmoon-$TRAVIS_TAG.tgz --exclude ".git" *
before_script:
-- sh -c "if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then php -S 127.0.0.1:8081 >& /dev/null &; fi"
-- sh -c "if [[ $TRAVIS_PHP_VERSION = hhvm ]]; then hhvm -m server -p 8081 >& /dev/null &; fi"
+- sh -c "if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then (php -S 127.0.0.1:8081 >& /dev/null &); fi"
+- sh -c "if [[ $TRAVIS_PHP_VERSION = hhvm ]]; then (hhvm -m server -p 8081 >& /dev/null &); fi"
# deploy:
# provider: releases