From c808b36084f6d37c75addc1e218404b05e291f07 Mon Sep 17 00:00:00 2001 From: nashe Date: Sun, 16 Jul 2017 17:29:42 +0200 Subject: Use HHVM's built-in web server when necessary --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 70415d7..5d88580 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,7 +21,8 @@ before_deploy: - tar czvf moonmoon-$TRAVIS_TAG.tgz --exclude ".git" * before_script: -- php -S 127.0.0.1:8081 >& /dev/null & +- 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 # deploy: # provider: releases -- cgit v1.2.1