summaryrefslogtreecommitdiff
path: root/ci/run-windows-build.sh
diff options
context:
space:
mode:
authorLars Schneider <larsxschneider@gmail.com>2017-04-29 20:59:58 +0200
committerJunio C Hamano <gitster@pobox.com>2017-05-04 14:50:40 +0900
commit6fa68ff28856f85f8633ea054856e98962f167d0 (patch)
tree69d5d3224835f90ac84772f210077395dc911fa3 /ci/run-windows-build.sh
parent029aeeed55f6bfe8014e8ffe5fc7a6f2e5b110fc (diff)
downloadgit-6fa68ff28856f85f8633ea054856e98962f167d0.tar.gz
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 <larsxschneider@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ci/run-windows-build.sh')
-rwxr-xr-xci/run-windows-build.sh3
1 files changed, 2 insertions, 1 deletions
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