Use modern Yarn version on Travis CI

Travis CI uses a quite old version of Yarn by default. This adds Yarn's
recommended incantation for using the latest stable version.
pull/9151/head
J. Ryan Stinnett 2019-03-13 12:32:46 +00:00
parent fcaf0a5503
commit a05e5d1e86
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@ node_js:
- 10
addons:
chrome: stable
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.13.0
- export PATH=$HOME/.yarn/bin:$PATH
install:
# clone the deps with depth 1: we know we will only ever need that one
# commit.