Skip to content

Commit

Permalink
Work around brew update failing
Browse files Browse the repository at this point in the history
  • Loading branch information
nurupo committed Jul 30, 2019
1 parent 9640fe5 commit 7233c96
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,10 @@ elif [ "$TARGET" = "Windows" ]; then
mkdir artifacts
cp -a build/*.zip artifacts
elif [ "$TARGET" = "macOS" ]; then
# updating fails sometimes, unable to fetch data off homebrew GitHub repo, so retry a few times
brew update || brew update || brew update || brew update || brew update
# updating fails sometimes, unable to fetch data off homebrew GitHub repo, so keep retrying
until brew update; do
sleep 30
done
brew install p7zip
mkdir -p tmp/tmp
cd tmp/tmp
Expand Down

0 comments on commit 7233c96

Please sign in to comment.