Skip to content

Commit

Permalink
downgrade npm in node 8; closes #2867
Browse files Browse the repository at this point in the history
  • Loading branch information
boneskull committed Jun 7, 2017
1 parent f20de56 commit 5db8121
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/travis-before-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ then
./node_modules/.bin/npm install --production
runSanityTest
rm -rf node_modules/
elif [[ ${TRAVIS_NODE_VERSION} =~ 'v8' ]]
then
echo "Downgrading to npm v4..."
npm install npm@4
./node_modules/.bin/npm install --production
else
npm install --production
runSanityTest
Expand Down

0 comments on commit 5db8121

Please sign in to comment.