Skip to content

Commit a541fe6

Browse files
jdaltonmathiasbynens
authored andcommitted
.travis.yml: Cache ~/.npm
This causes Travis to preserve the npm cache so that our testing is more resilient to npm registry hiccups. Closes #53.
1 parent a086555 commit a541fe6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
language: node_js
22
node_js:
33
- 6
4+
cache:
5+
directories:
6+
- $HOME/.npm
47
after_script:
58
- 'istanbul cover --report html node_modules/.bin/_mocha tests -- -u exports -R spec && codecov'

0 commit comments

Comments
 (0)