From 413fb4b95e3718aec4c7d3577b6378f6221b1af9 Mon Sep 17 00:00:00 2001 From: Byron Kamal <18502121+byronkamal@users.noreply.github.com> Date: Sun, 10 Nov 2019 13:04:33 -0300 Subject: [PATCH 1/2] Update .travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3632c78..79dcd8a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ language: -- node_js + - node_js node_js: - 10 From 6901bed77b84fbf485515a5499312e25fbac3d3e Mon Sep 17 00:00:00 2001 From: Byron Kamal <18502121+byronkamal@users.noreply.github.com> Date: Sun, 10 Nov 2019 13:09:53 -0300 Subject: [PATCH 2/2] Add "script" in Deploy Prod stage --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 79dcd8a..10117cb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,11 @@ +sudo: required + language: - node_js node_js: - 10 -sudo: required - services: - docker @@ -53,6 +53,7 @@ jobs: - stage: "Deploy prod" name: "Deploy prod" if: branch = master + script: # build docker image - docker build -t gymnasteg2019/frontend:prod .