Skip to content

Commit cc11ea3

Browse files
committed
Update Travis config.
* install npm@2 for node.js 0.10 * cache the node_modules folder
1 parent 4c137a9 commit cc11ea3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,16 @@ node_js:
77
- "4"
88
- "5"
99

10+
before_install:
11+
- if [ "$TRAVIS_NODE_VERSION" = "0.10" ]; then npm install -g npm@2; fi
12+
1013
install:
1114
- npm install -g grunt-cli
1215
- npm install
1316

1417
matrix:
1518
fast_finish: true
19+
20+
cache:
21+
directories:
22+
- node_modules

0 commit comments

Comments
 (0)