diff options
author | Lars Schneider <larsxschneider@gmail.com> | 2017-04-29 21:59:58 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-04 08:50:40 +0300 |
commit | 6fa68ff28856f85f8633ea054856e98962f167d0 (patch) | |
tree | 69d5d3224835f90ac84772f210077395dc911fa3 | |
parent | 029aeeed55f6bfe8014e8ffe5fc7a6f2e5b110fc (diff) |
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>
-rwxr-xr-x | ci/run-windows-build.sh | 3 |
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 |