git.iko.soy/typeable/servant-reflex
on master help sign in
Start test server, selenium driver and testsuite from single script
9a8a6aaGreg Hale
.travis.yml+1−4
@@ -48,10 +48,7 @@ script:
48- cd testserver
48- cd testserver
49- cabal install --only-dep
49- cabal install --only-dep
50- cabal build
50- cabal build
51−- dist/build/back/back -p 8000 &
51+- run-wd-tests.sh
52−- cd ..
53−- phantomjs --webdriver=127.0.0.1:4444 &
54−- dist/build/spec/spec
55
52
56cache:
53cache:
57 directories:
54 directories:
testserver/run-wd-tests.shnew file+5
@@ -0,0 +1,5 @@
1+#!/usr/bin/env bash
2+
3+dist/build/back/back -p 8000 &
4+phantomjs --webdriver=127.0.0.1:4444 &
5+dist/build/spec/spec