From 31a65f566e6b42b57f2544293bc835d4ecd74e67 Mon Sep 17 00:00:00 2001 From: Shawn Date: Sun, 9 Dec 2018 23:44:00 -0600 Subject: [PATCH] Add test environment setup --- .travis.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.travis.yml b/.travis.yml index d1d2ef88..8318861b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,3 +37,12 @@ jobs: script: # - npm run fix - npm run build + + - stage: "Setup Tests" + name: "Setup Test Environment" + + script: + - cp ./cli/defaults/* ./site/config/ + - echo '{ "sessionKey": "session", "masterPassword": false }' > ./site/private/authConfig.json + - npm start & + - sleep 10 # Attempt to collect output for 10 seconds