From 00d3bbb4639a370f23f55e93c306b37e30000cbe Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Fri, 24 Feb 2017 11:41:13 +1100 Subject: [PATCH] prune packages at both folders before trying to install --- .travis.yml | 2 ++ appveyor.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index be5904faae..c1d25d0cfe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,6 +21,8 @@ cache: - node_modules install: + - npm prune + - cd app && npm prune && cd .. - npm install script: diff --git a/appveyor.yml b/appveyor.yml index 5d6ce00f97..33680b23ea 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -27,6 +27,8 @@ install: - ps: $fileContent += "`n-----END RSA PRIVATE KEY-----`n" - ps: Set-Content c:\users\appveyor\.ssh\id_rsa $fileContent - git submodule update --init --recursive + - npm prune + - cd app && npm prune && cd .. - npm install build_script: