From a0219051c395e4e3070a18ef9486650c3aee1d78 Mon Sep 17 00:00:00 2001 From: Kyle Shockey Date: Mon, 30 Oct 2017 13:16:59 -0700 Subject: [PATCH 1/2] Cache node_modules --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index da8c805b..77d0f6c9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,16 @@ language: node_js node_js: - '6.9' +cache: + directories: + - node_modules services: - docker branches: only: - master - /^v\d+\.\d+(\.\d+)?(-\S*)?$/ +before_script: "npm update" before_deploy: - npm run build env: From 6fa7b92cadbf3dbf5307863c54be04d4d9a1339c Mon Sep 17 00:00:00 2001 From: kyle Date: Fri, 3 Nov 2017 14:56:08 -0700 Subject: [PATCH 2/2] Update .travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 77d0f6c9..9149557c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ branches: only: - master - /^v\d+\.\d+(\.\d+)?(-\S*)?$/ -before_script: "npm update" +install: "npm i && npm update" before_deploy: - npm run build env: