Add drone.yml and fix tests to be compatable with docker pipeline #1

Merged
jhodges merged 14 commits from tests into master 2020-09-30 15:13:57 +01:00
2 changed files with 2 additions and 14 deletions
Showing only changes of commit e53dba22b3 - Show all commits

View File

@ -37,7 +37,8 @@ Start the test server, will listen on localhost:8080
```plain
cd tests/server
./start_server.sh
npm install
node server.js
```
Run the tests:

View File

@ -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