From 90d0da0487db117509d16ddc8b61f9b1048a5f42 Mon Sep 17 00:00:00 2001 From: nashe Date: Sun, 16 Jul 2017 17:59:28 +0200 Subject: Use bash in .travis.yml --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d6f7c36..b6c79cc 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" +- bash -c "if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then (php -S 127.0.0.1:8081 >& /dev/null &); fi" +- bash -c "if [[ $TRAVIS_PHP_VERSION = hhvm ]]; then (hhvm -m server -p 8081 >& /dev/null &); fi" # deploy: # provider: releases -- cgit v1.2.1