Commit 4360a5bd by Marcin Cieslak

Use build cache for NPM and GYP files

To speed up a build and avoid bombarding
nodejs.org and iojs.org with connections we should
cache what we download via npm and node-gyp.
parent 709e22dd
...@@ -29,6 +29,8 @@ after_success: npm run-script coverage ...@@ -29,6 +29,8 @@ after_success: npm run-script coverage
cache: cache:
directories: directories:
- $HOME/.node-gyp
- $HOME/.npm
- node_modules - node_modules
notifications: notifications:
......
...@@ -2,6 +2,10 @@ version: "{build}" ...@@ -2,6 +2,10 @@ version: "{build}"
build: off build: off
cache:
- c:\Users\appveyor\.node-gyp
- '%AppData%\npm-cache'
environment: environment:
SKIP_SASS_BINARY_DOWNLOAD_FOR_CI: true SKIP_SASS_BINARY_DOWNLOAD_FOR_CI: true
matrix: matrix:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment