File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ before_install:
1616 - " wget https://chromedriver.storage.googleapis.com/$CHROME_DRIVER_VERSION/chromedriver_linux64.zip"
1717 - " unzip chromedriver_linux64.zip"
1818 - " export PATH=$PATH:$PWD"
19+ after_failure :
20+ - tool/report_failure.sh
1921
2022jobs :
2123 include :
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ travis:
1212 - wget http://chromedriver.storage.googleapis.com/2.40/chromedriver_linux64.zip
1313 - unzip chromedriver_linux64.zip
1414 - export PATH=$PATH:$PWD
15+ after_failure :
16+ - tool/report_failure.sh
1517
1618merge_stages :
1719- analyzer_and_format
Original file line number Diff line number Diff line change 1+ TRAVIS_BUILDS_URI=" https://travis-ci.org/dart-lang/build/builds"
2+ if [ " $TRAVIS_EVENT_TYPE " != " pull_request" -a " $TRAVIS_ALLOW_FAILURE " != " true" ]; then
3+ curl -H " Content-Type: application/json" -X POST -d \
4+ " {'text':'Build failed! ${TRAVIS_BUILDS_URI} /${TRAVIS_BUILD_ID} '}" \
5+ " ${CHAT_HOOK_URI} "
6+ fi
You can’t perform that action at this time.
0 commit comments