From 368efbb20ff20d1b74f7da5efa6ca0600bb85999 Mon Sep 17 00:00:00 2001 From: Aneesh Agrawal Date: Fri, 23 Sep 2016 04:52:42 -0400 Subject: [PATCH] Add failed build notifications Configure Travis to send emails whenver there is a failed build. Use an email alias (github-saltfs@servo.org) to ensure all interested parties can receive emails, instead of just the author and committer. Per the docs (https://docs.travis-ci.com/user/notifications/), emails are only sent for branches (e.g. master/nightly/auto). This is meant for notifications on failed nightly builds, so always notify on failures but avoid notifying on success. --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index b2510867..71472d26 100644 --- a/.travis.yml +++ b/.travis.yml @@ -70,3 +70,8 @@ script: .travis/dispatch.sh notifications: webhooks: http://build.servo.org:54856/travis + email: + recipients: + - github-saltfs@servo.org + on_success: never + on_failure: always