Sign in
flutter
/
third_party
/
coverage
/
282f6f99c540b3d53f749919725ec593e241e04e
/
.
/
tool
/
travis_failure_report.sh
blob: f240c2aa3e37a264c51865a87d663e9e60b7b39a [
file
] [
log
] [
blame
]
#!/bin/bash
if
[
"$TRAVIS_EVENT_TYPE"
!=
"pull_request"
]
&&
[
"$TRAVIS_ALLOW_FAILURE"
!=
"true"
];
then
curl
-
H
"Content-Type: application/json"
-
X POST
-
d \
"{'text':'Build failed! ${TRAVIS_BUILD_WEB_URL}'}"
\
"${CHAT_HOOK_URI}"
fi