Start test server, selenium driver and testsuite from single script
commit9a8a6aa1a311d4224f13a889477e3fa32745ec1c
authorGreg Hale <imalsogreg@gmail.com>
dateTue 20 Sep 2016, 08:34 (10 years ago)
parentaa8165d
.travis.yml+1−4
@@ -48,10 +48,7 @@ script:
4848- cd testserver
4949- cabal install --only-dep
5050- cabal build
51−- dist/build/back/back -p 8000 &
52−- cd ..
53−- phantomjs --webdriver=127.0.0.1:4444 &
54−- dist/build/spec/spec
51+- run-wd-tests.sh
5552
5653cache:
5754 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