From 6fa68ff28856f85f8633ea054856e98962f167d0 Mon Sep 17 00:00:00 2001 From: Lars Schneider Date: Sat, 29 Apr 2017 20:59:58 +0200 Subject: [PATCH] travis-ci: handle Git for Windows CI status "failed" explicitly Git for Windows CI returns "completed: failed" if a build or test failure happened. This case was processed as "Unhandled status". Handle the case explicitly. Signed-off-by: Lars Schneider Signed-off-by: Junio C Hamano --- ci/run-windows-build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/run-windows-build.sh b/ci/run-windows-build.sh index 4e3a50b60..c72a2bd52 100755 --- a/ci/run-windows-build.sh +++ b/ci/run-windows-build.sh @@ -61,7 +61,8 @@ do case "$STATUS" in inProgress|postponed|notStarted) sleep 10 ;; # continue "completed: succeeded") RESULT="success"; break;; # success - *) echo "Unhandled status: $STATUS"; break;; # failure + "completed: failed") break;; # failure + *) echo "Unhandled status: $STATUS"; break;; # unknown esac done -- 2.11.0