Commit ef9d37d8 by Alexander Makarov

Split command for easier debug

parent ac9b4791
......@@ -56,13 +56,17 @@ script:
if (php --version | grep -i HipHop > /dev/null); then
echo "skipping application tests on HHVM"
else
cd apps/basic/web && php -S localhost:8080 > /dev/null 2>&1 &
cd apps/basic/web
php -S localhost:8080 > /dev/null 2>&1 &
PHPPID=$!
cd ../tests && codecept run
cd ../tests
codecept run
kill -9 $PHPPID
cd ../../advanced && php -S localhost:8080 > /dev/null 2>&1 &
cd ../../advanced
php -S localhost:8080 > /dev/null 2>&1 &
PHPPID=$!
cd tests && codecept run
cd tests
codecept run
kill -9 $PHPPID
fi
......
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