From b9f562813b5005577bed3f2a40c5eb147696e18c Mon Sep 17 00:00:00 2001
From: Micah Anderson <micah@riseup.net>
Date: Tue, 4 Jul 2017 13:54:43 -0700
Subject: [PATCH] Additional fix for CI cache failure

---
 tests/platform-ci/ci-build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/platform-ci/ci-build.sh b/tests/platform-ci/ci-build.sh
index 1c9cc416..5c21bfb7 100755
--- a/tests/platform-ci/ci-build.sh
+++ b/tests/platform-ci/ci-build.sh
@@ -149,7 +149,7 @@ upgrade_test() {
   # due to cache, this remote is sometimes already added
   git remote add leap https://leap.se/git/leap_platform || true
   git fetch leap
-  git checkout -b leap_stable remotes/leap/stable
+  git checkout -b leap_stable remotes/leap/stable || true
   # After checking out a different platform branch
   # bundle install is needed again
   cd "$ROOTDIR"
-- 
GitLab