Commit e4e04c92 by Alexander Makarov

Avoided exit in travis since it finishes the whole script

parent ed5b8afb
...@@ -61,22 +61,17 @@ script: ...@@ -61,22 +61,17 @@ script:
PHP_PID=$! PHP_PID=$!
cd ../tests cd ../tests
codecept run codecept run
BASIC_EXIT=$?
kill -9 $PHP_PID
exit $BASIC_EXIT
fi fi
- | - |
if (php --version | grep -i HipHop > /dev/null); then if (php --version | grep -i HipHop > /dev/null); then
echo "Skipping advanced application tests on HHVM" echo "Skipping advanced application tests on HHVM"
else else
kill -9 $PHP_PID
cd ../../advanced cd ../../advanced
php -S localhost:8080 > /dev/null 2>&1 & php -S localhost:8080 > /dev/null 2>&1 &
PHP_PID=$! PHP_PID=$!
cd tests cd tests
codecept run codecept run
ADVANCED_EXIT=$?
kill -9 $PHP_PID
exit $ADVANCED_EXIT
fi fi
after_script: after_script:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment