Skip to content

Commit

Permalink
Ensure to cache resolved dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Jul 3, 2019
1 parent d7944b5 commit bafb485
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ git:
# the last merge commit that is to be tested
depth: 10

cache:
# Not relying on 'npm' shortcut - per Travis docs it's the only 'node_modules' that it'll be cached
directories:
- $HOME/.npm
- node_modules

branches:
only:
- master # Do not build PR branches
Expand Down

0 comments on commit bafb485

Please sign in to comment.