Commit 57b29960 by Alexander Makarov

Use separate webservers for basic and advanced apps in travis

parent ac32c33d
......@@ -56,8 +56,14 @@ script:
if (php --version | grep -i HipHop > /dev/null); then
echo "skipping application tests on HHVM"
else
cd apps/basic/tests && php ../vendor/bin/codecept run
cd ../../advanced/tests && ../vendor/bin/codecept run
cd apps/basic/web && php -S localhost:8080 > /dev/null 2>&1 &
PHPPID=$!
cd ../tests && codecept run
kill -9 $PHPPID
cd ../../advanced && php -S localhost:8080 > /dev/null 2>&1 &
PHPPID=$!
cd tests && codecept run
kill -9 $PHPPID
fi
after_script:
......
......@@ -23,8 +23,4 @@ else
cd ../console && codecept build
cd ../frontend && codecept build
cd ../../../
# boot server
php -S localhost:8080 > /dev/null 2>&1 &
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