Skip to content

Commit

Permalink
Cache the caches to avoid some npm bizarreness when bumping packages.
Browse files Browse the repository at this point in the history
This changes the Travis caching setup to cache the `.npm` and `.cache`
directories, instead of caching the output of `node_modules` /
`bower_components`. It should still reduce the network time, but allow
the npm installs to work properly when there are package bumps.

Can't make it worse  ¯\_(ツ)_/¯...
  • Loading branch information
Robert Jackson committed Sep 28, 2016
1 parent 27d6784 commit 221bd5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -10,8 +10,8 @@ addons:

cache:
directories:
- node_modules
- bower_components
- $HOME/.npm
- $HOME/.cache # includes bowers cache

before_install:
- "npm config set spin false"
Expand Down

0 comments on commit 221bd5a

Please sign in to comment.