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.
This commit is contained in:
Joachim Fasting
2017-03-15 02:37:10 +01:00
parent f5ccf24028
commit 541b3ec1bc

View File

@@ -18,3 +18,8 @@ matrix:
env:
global:
- GITHUB_TOKEN=5edaaf1017f691ed34e7f80878f8f5fbd071603f
notifications:
email:
on_success: never
on_failure: change