From d3741c5da1274de75a0148aeb7fb353f3809acd6 Mon Sep 17 00:00:00 2001 From: Shawn Date: Mon, 10 Dec 2018 00:04:34 -0600 Subject: [PATCH] Adjust build order --- .travis.yml | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6b46adcc..7dfdee58 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,16 +18,8 @@ cache: jobs: include: - - stage: "Configure" - name: "Configure Spee.ch" - - script: - - cp ./cli/defaults/* ./site/config/ - - | - echo \'{ "sessionKey": "session", "masterPassword": false }\' > ./site/private/authConfig.json - - - stage: "Build" - name: "Build Spee.ch" + - stage: "Setup" + name: "Setup Build Environment" before_install: # - sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('password') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;" @@ -42,6 +34,17 @@ jobs: install: - npm i + - stage: "Configure" + name: "Configure Spee.ch" + + script: + - cp ./cli/defaults/* ./site/config/ + - | + echo \'{ "sessionKey": "session", "masterPassword": false }\' > ./site/private/authConfig.json + + - stage: "Build" + name: "Build Spee.ch" + script: # - npm run fix - npm run build