From 4537444db59d07110b5c3fd1c2283f736e837077 Mon Sep 17 00:00:00 2001 From: whitequark Date: Sun, 9 Oct 2016 22:32:58 +0000 Subject: [PATCH] Travis: add a few more retries to OS X build script. Their infra seems to be deteriorating with time, or something. Every other build fails lately. --- .travis/build-macos.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.travis/build-macos.sh b/.travis/build-macos.sh index ec0e7d0..4baade7 100755 --- a/.travis/build-macos.sh +++ b/.travis/build-macos.sh @@ -8,7 +8,13 @@ cmake -DCMAKE_OSX_DEPLOYMENT_TARGET=10.7 -DCMAKE_BUILD_TYPE=$BUILD_TYPE .. if ! make VERBOSE=1; then echo "Sigh, transient build failure. Retrying..." if ! make VERBOSE=1; then - echo "Okay, this is probably an actual bug." - exit 1 + echo "Another transient build failure. Retrying..." + if ! make VERBOSE=1; then + echo "I can't believe how deep the Travis brokenness goes. Retrying..." + if ! make VERBOSE=1; then + echo "Okay, this is probably an actual bug." + exit 1 + fi + fi fi fi