Skip to content

Commit 0a28a40

Browse files
committed
Merge pull request #34 from SebastianM/travis-cache
chore(build): cache node_modules in travis builds
2 parents 5a108bb + 6a0126f commit 0a28a40

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919

2020
# Explicitly set the environment to be container-based. This makes the builds faster.
2121
sudo: false
22+
# Cache downloaded Node.JS modules in the node_modules directory for faster builds.
23+
cache:
24+
directories:
25+
- node_modules
2226
# Use Node.js as primary language because Gulp is the build system used in the project.
2327
language: node_js
2428
before_script:

0 commit comments

Comments
 (0)