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>

Lars Schneider committed Apr 29, 2017 at 20:59 UTC 6fa68ff28856f85f8633ea054856e98962f167d0
1 file changed +2 -1
ci/run-windows-build.sh
+2 -1
@@ -61,7 +61,8 @@ do
61 case "$STATUS" in
62 inProgress|postponed|notStarted) sleep 10 ;; # continue
63 "completed: succeeded") RESULT="success"; break;; # success
64 - *) echo "Unhandled status: $STATUS"; break;; # failure
64 + "completed: failed") break;; # failure
65 + *) echo "Unhandled status: $STATUS"; break;; # unknown
66 esac
67 done
68