Skip to content

Commit

Permalink
CI: Cache node_modules/ directory between builds
Browse files Browse the repository at this point in the history
  • Loading branch information
addaleax committed Apr 22, 2016
1 parent 1bcf2a8 commit 7de3efc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ os:
- osx
sudo: false
cache:
- pip
- apt
directories:
- node_modules
- $HOME/.npm
addons:
apt:
sources:
Expand Down
4 changes: 4 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,7 @@ deploy:

matrix:
fast_finish: true

cache:
- node_modules
- '%APPDATA%\npm-cache'

0 comments on commit 7de3efc

Please sign in to comment.