From: Lars Schneider Date: Sat, 29 Apr 2017 18:59:58 +0000 (+0200) Subject: travis-ci: handle Git for Windows CI status "failed" explicitly X-Git-Tag: v2.14.0-rc0~179^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6fa68ff28856f85f8633ea054856e98962f167d0;p=thirdparty%2Fgit.git 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 --- diff --git a/ci/run-windows-build.sh b/ci/run-windows-build.sh index 4e3a50b60e..c72a2bd526 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