From 541b3ec1bc9357fd5c2ff9bcd96a82920f3316c1 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Wed, 15 Mar 2017 02:37:10 +0100 Subject: [PATCH] travis: send emails iff commit caused the build to start failing This setting should ensure that email notifications are sent *only* when the commit caused the build to start failing. That is, no more "the build is still failing" spam. As an alternative we could consider disabling email notifications outright and possibly enable IRC notifications instead. --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 802af69834d..bed82810d46 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,3 +18,8 @@ matrix: env: global: - GITHUB_TOKEN=5edaaf1017f691ed34e7f80878f8f5fbd071603f + +notifications: + email: + on_success: never + on_failure: change