diff options
author | Lars Schneider <larsxschneider@gmail.com> | 2017-04-29 20:59:58 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-04 14:50:40 +0900 |
commit | 6fa68ff28856f85f8633ea054856e98962f167d0 (patch) | |
tree | 69d5d3224835f90ac84772f210077395dc911fa3 /ci | |
parent | travis-ci: build and test Git on Windows (diff) | |
download | tgif-6fa68ff28856f85f8633ea054856e98962f167d0.tar.xz |
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')
-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 |