Sign in
flutter
/
third_party
/
coverage
/
92ab6ea5d62ef913c60f9d91ecb55766c631cb18
/
.
/
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