Skip to content

Commit 2174e86

Browse files
committed
Travis: Node 0.8 NPM fix
NPM update workaround from npm/npm#6246 (comment)
1 parent 196d98d commit 2174e86

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ node_js:
44
- "0.10"
55
- "0.11"
66
before_install:
7-
- npm update npm -g # For "^" dependency compatiblibty in NodeJS 0.8
7+
- '[ "${TRAVIS_NODE_VERSION}" != "0.8" ] || npm install -g [email protected]'
8+
- npm install -g npm@latest
89
- npm install -g grunt-cli

0 commit comments

Comments
 (0)