Retry installing yarn on CI

This was flaky enough in the past that the extra tries should hopefully make
this less flaky
This commit is contained in:
Alex Crichton 2018-08-01 14:56:14 -07:00
parent 6def60681b
commit fce687cf7b

View File

@ -101,7 +101,8 @@ matrix:
env: JOB=test-yarn-smoke
install:
- *INSTALL_NODE_VIA_NVM
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.7.0
- travis_retry curl -OLSf https://yarnpkg.com/install.sh
- travis_retry bash install.sh -- --version 1.7.0
- export PATH=$HOME/.yarn/bin:$PATH
- yarn install --freeze-lockfile
script: cargo test api::works