Ask Travis CI to upgrade their npm before perform testing and building

This commit is contained in:
NI
2020-05-18 23:59:42 +08:00
parent 3ec9669057
commit 16c48257ea

View File

@@ -26,6 +26,7 @@ go:
before_install:
- export
- nvm install node --latest-npm && nvm use node
- npm install && npm run generate
- |
if [[ "$SSHWIFTY_TEST_COVER" == "yes" ]]; then