mirror of
https://github.com/ilyakooo0/servant-reflex.git
synced 2024-10-26 02:11:36 +03:00
Start test server, selenium driver and testsuite from single script
This commit is contained in:
parent
aa8165d780
commit
9a8a6aa1a3
@ -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:
|
||||
|
5
testserver/run-wd-tests.sh
Normal file
5
testserver/run-wd-tests.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user