Skip to content

Commit

Permalink
Merge 7644267 into f373b1d
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo committed Sep 14, 2020
2 parents f373b1d + 7644267 commit f5bfb4a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
@@ -1,5 +1,9 @@
language: dart

after_script:
- tool/travis_failure_report.sh
- export

dart:
# TODO(#308): re-enable testing against stable after 2.10 release.
# - 2.10.0
Expand All @@ -10,7 +14,7 @@ dart_task:
- dartanalyzer: --fatal-infos --fatal-warnings .
- dartfmt

matrix:
jobs:
include:
- dart: dev
script: ./tool/travis.sh
Expand Down
5 changes: 5 additions & 0 deletions tool/travis_failure_report.sh
@@ -0,0 +1,5 @@
#if [ "$TRAVIS_EVENT_TYPE" != "pull_request" -a "$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

0 comments on commit f5bfb4a

Please sign in to comment.