Skip to content

Commit

Permalink
Merge branch 'master' into add-browser-to-CI
Browse files Browse the repository at this point in the history
* master:
  Assert that deps can be installed under node 0.8's npm (#2236)
  • Loading branch information
boneskull committed May 13, 2016
2 parents 62ba14d + ba5637d commit 4271819
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/ensure-compatible-npm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ set -o errexit

npm install semver
if node -e "process.exit(require('semver').lt(process.argv[1], '1.3.7') ? 0 : 1)" $(npm -v); then
# make sure dependencies install with provided npm version
npm install --production
npm install -g npm@2
npm install -g npm
fi
Expand Down

0 comments on commit 4271819

Please sign in to comment.