Skip to content

Commit edb6eda

Browse files
committed
fix(ci): ensure npm is present with ci
1 parent 18ad865 commit edb6eda

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ node_js:
1313
- "8"
1414
- "6"
1515

16+
before_install:
17+
- dpkg --compare-versions `npm -v` ge 5.8 || npm i -g npm@latest
18+
1619
script:
17-
- npm -g install npm@latest
1820
- npm run clean -- --when-ci-commit-message
1921
- npm run test -- --coverage

0 commit comments

Comments
 (0)