test: use latest version of yarn in travis

This commit is contained in:
afc163 2019-11-22 18:46:55 +08:00
parent 7524f09ff8
commit 6cffd33799
1 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,10 @@ node_js:
env:
- NODE_ENV=test
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$PATH"
install:
- yarn install