Skip to content

Commit

Permalink
[Tests] use nvm install-latest-npm
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Nov 4, 2017
1 parent ae37318 commit e0403c6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ matrix:
node_js: 8

install:
- if [ ${TRAVIS_NODE_VERSION} == "4" ]; then
npm install -g npm@3;
fi
- nvm install-latest-npm
- npm install
- npm install eslint@$ESLINT_VERSION --ignore-scripts || true
- npm install --no-save eslint@$ESLINT_VERSION --ignore-scripts || true
# install all resolver deps
- "for resolver in ./resolvers/*; do cd $resolver && npm install && cd ../..; done"

Expand Down

0 comments on commit e0403c6

Please sign in to comment.