Skip to content

Commit

Permalink
build: clarify minimum npm version
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Aug 18, 2016
1 parent 44b8f51 commit 0d02374
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -14,9 +14,10 @@ cache:
directories:
- node_modules
before_install:
# Setup npm
- "test $TRAVIS_NODE_VERSION != '0.8' || npm install -g npm@1.2.8000"
# Setup Node.js version-specific dependencies
- "test $TRAVIS_NODE_VERSION != '0.8' || npm rm --save-dev istanbul"

# Update Node.js modules
- "test ! -d node_modules || npm prune"
- "test ! -d node_modules || npm rebuild"
Expand Down
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -18,7 +18,8 @@
"mocha": "2.5.3"
},
"engines": {
"node": ">= 0.8"
"node": ">= 0.8",
"npm": "1.2.8000 || >= 1.4.16"
},
"scripts": {
"test": "mocha --reporter spec",
Expand Down

0 comments on commit 0d02374

Please sign in to comment.