From fce687cf7b733db7318e268e896682673cbb36b1 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 1 Aug 2018 14:56:14 -0700 Subject: [PATCH] Retry installing yarn on CI This was flaky enough in the past that the extra tries should hopefully make this less flaky --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 78d2caf7..22a7f531 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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