Start test server, selenium driver and testsuite from single script

This commit is contained in:
Greg Hale 2016-09-20 08:34:51 -04:00
parent aa8165d780
commit 9a8a6aa1a3
2 changed files with 6 additions and 4 deletions

View File

@ -48,10 +48,7 @@ script:
- cd testserver
- cabal install --only-dep
- cabal build
- dist/build/back/back -p 8000 &
- cd ..
- phantomjs --webdriver=127.0.0.1:4444 &
- dist/build/spec/spec
- run-wd-tests.sh
cache:
directories:

View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
dist/build/back/back -p 8000 &
phantomjs --webdriver=127.0.0.1:4444 &
dist/build/spec/spec