Adjust configuration before build

This commit is contained in:
Shawn 2018-12-09 23:47:15 -06:00
parent 31a65f566e
commit 341b9e3a5f

View file

@ -18,6 +18,13 @@ cache:
jobs: jobs:
include: include:
- stage: "Configure"
name: "Configure Spee.ch"
script:
- cp ./cli/defaults/* ./site/config/
- echo '{ "sessionKey": "session", "masterPassword": false }' > ./site/private/authConfig.json
- stage: "Build" - stage: "Build"
name: "Build Spee.ch" name: "Build Spee.ch"
@ -38,11 +45,9 @@ jobs:
# - npm run fix # - npm run fix
- npm run build - npm run build
- stage: "Setup Tests" - stage: "Run"
name: "Setup Test Environment" name: "Run Test Environment"
script: script:
- cp ./cli/defaults/* ./site/config/
- echo '{ "sessionKey": "session", "masterPassword": false }' > ./site/private/authConfig.json
- npm start & - npm start &
- sleep 10 # Attempt to collect output for 10 seconds - sleep 10 # Attempt to collect output for 10 seconds