Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Use build cache for NPM and GYP files
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
saper committed Aug 23, 2015
1 parent 709e22d commit 4360a5b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ after_success: npm run-script coverage

cache:
directories:
- $HOME/.node-gyp
- $HOME/.npm
- node_modules

notifications:
Expand Down
4 changes: 4 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ version: "{build}"

build: off

cache:
- c:\Users\appveyor\.node-gyp

This comment has been minimized.

Copy link
@am11

am11 Aug 24, 2015

Contributor

This can be - %UserProfile%\.node-gyp

- '%AppData%\npm-cache'

environment:
SKIP_SASS_BINARY_DOWNLOAD_FOR_CI: true
matrix:
Expand Down

0 comments on commit 4360a5b

Please sign in to comment.