tidy
This commit is contained in:
parent
943d6c89e6
commit
e53dba22b3
@ -37,7 +37,8 @@ Start the test server, will listen on localhost:8080
|
|||||||
|
|
||||||
```plain
|
```plain
|
||||||
cd tests/server
|
cd tests/server
|
||||||
./start_server.sh
|
npm install
|
||||||
|
node server.js
|
||||||
```
|
```
|
||||||
|
|
||||||
Run the tests:
|
Run the tests:
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
npm install
|
|
||||||
|
|
||||||
if [ -z ${TRAVIS_JOB_ID} ]; then
|
|
||||||
# not running under travis, stay in foreground until stopped
|
|
||||||
node server.js
|
|
||||||
else
|
|
||||||
cd tests/server
|
|
||||||
|
|
||||||
# running under travis, daemonize
|
|
||||||
(node server.js &) || /bin/true
|
|
||||||
fi
|
|
Loading…
Reference in New Issue
Block a user