diff options
author | Joachim Fasting <joachifm@fastmail.fm> | 2017-03-15 02:37:10 +0100 |
---|---|---|
committer | Joachim Fasting <joachifm@fastmail.fm> | 2017-03-15 02:41:02 +0100 |
commit | 541b3ec1bc9357fd5c2ff9bcd96a82920f3316c1 (patch) | |
tree | ecfeb17a025dde0a6ef4acc6fef66aa632269ff1 | |
parent | f5ccf24028982048f7ca55581435944494653a4a (diff) |
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.
-rw-r--r-- | .travis.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 802af69834d0..bed82810d469 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 |