Skip to content
This repository has been archived by the owner on Apr 7, 2021. It is now read-only.

Isaacs/fix travis #35

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ node_js:
- "8"
- "6"

before_install:
- npm install -g npm@latest
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- npm install -g npm@latest
- nvm install-latest-npm

this has much more granular logic than always installing the latest - unless you want it to fail when the latest version doesn’t work.


cache:
directories:
- $HOME/.npm