Skip to content

Commit

Permalink
fix(ci): ensure npm is present with ci
Browse files Browse the repository at this point in the history
  • Loading branch information
huafu committed Sep 1, 2018
1 parent 18ad865 commit edb6eda
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ node_js:
- "8"
- "6"

before_install:
- dpkg --compare-versions `npm -v` ge 5.8 || npm i -g npm@latest

script:
- npm -g install npm@latest
- npm run clean -- --when-ci-commit-message
- npm run test -- --coverage

0 comments on commit edb6eda

Please sign in to comment.