{"thread":{"id":"45832","subject":"[PATCH v1] travis-ci: handle Git for Windows CI status \"failed\" explicitly","startedAt":"2017-04-29T19:03:39Z","lastAt":"2017-04-29T19:03:39Z","messageCount":1,"participants":["Lars Schneider"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"318244","messageId":"20170429185958.10560-1-larsxschneider@gmail.com","threadId":"45832","inReplyTo":null,"subject":"[PATCH v1] travis-ci: handle Git for Windows CI status \"failed\" explicitly","fromName":"Lars Schneider","fromEmail":"larsxschneider@gmail.com","sentAt":"2017-04-29T18:59:58Z","receivedAt":"2017-04-29T19:03:39Z","isPatch":true,"sender":{"key":"larsxschneider@gmail.com","avatar":"https://avatars.githubusercontent.com/u/477434?v=4"},"body":"Git for Windows CI returns \"completed: failed\" if a build or test\nfailure happened. This case was processed as \"Unhandled status\".\nHandle the case explicitly.\n\nSigned-off-by: Lars Schneider <larsxschneider@gmail.com>\n---\n\nNotes:\n    Base Ref: next\n    Web-Diff: https://github.com/larsxschneider/git/commit/57840905a5\n    Checkout: git fetch https://github.com/larsxschneider/git travisci/win-fail-v1 && git checkout 57840905a5\n\n ci/run-windows-build.sh | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)\n\ndiff --git a/ci/run-windows-build.sh b/ci/run-windows-build.sh\nindex e043440799..1bb3a021ee 100755\n--- a/ci/run-windows-build.sh\n+++ b/ci/run-windows-build.sh\n@@ -61,7 +61,8 @@ do\n \tcase \"$STATUS\" in\n \tinProgress|postponed|notStarted) sleep 10               ;; # continue\n \t\t \"completed: succeeded\") RESULT=\"success\"; break;; # success\n-\t*) echo \"Unhandled status: $STATUS\";               break;; # failure\n+\t\t    \"completed: failed\")                   break;; # failure\n+\t*) echo \"Unhandled status: $STATUS\";               break;; # unknown\n \tesac\n done\n \n\nbase-commit: 1ea7e62026c5dde4d8be80b2544696fc6aa70121\n-- \n2.12.2\n\n"}]}