summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 5d88580..f3eb2cf 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -21,8 +21,8 @@ before_deploy:
- tar czvf moonmoon-$TRAVIS_TAG.tgz --exclude ".git" *
before_script:
-- if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then php -S 127.0.0.1:8081 >& /dev/null &; fi
-- 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