Skip to content

Commit

Permalink
Retry brew commands upon failure
Browse files Browse the repository at this point in the history
Wrap the installation on macOS with `travis_retry`.
  • Loading branch information
ranma42 committed May 3, 2017
1 parent 5e522d7 commit 98dd82c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Expand Up @@ -96,7 +96,8 @@ matrix:
os: osx
osx_image: xcode7
install:
- brew update && brew install xz
- travis_retry brew update
- travis_retry brew install xz
- *osx_install_sccache
- env: >
RUST_CHECK_TARGET=dist
Expand All @@ -109,7 +110,8 @@ matrix:
os: osx
osx_image: xcode7
install:
- brew update && brew install xz
- travis_retry brew update
- travis_retry brew install xz
- *osx_install_sccache
# "alternate" deployments, these are "nightlies" but don't have assertions
Expand All @@ -128,7 +130,8 @@ matrix:
os: osx
osx_image: xcode7
install:
- brew update && brew install xz
- travis_retry brew update
- travis_retry brew install xz
- *osx_install_sccache
env:
Expand Down

0 comments on commit 98dd82c

Please sign in to comment.