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.
commit541b3ec1bc9357fd5c2ff9bcd96a82920f3316c1
authorJoachim Fasting <joachifm@fastmail.fm>
dateWed 15 Mar 2017, 02:37 (10 years ago)
parentf5ccf24
.travis.yml+5
@@ -18,3 +18,8 @@ matrix:
1818env:
1919 global:
2020 - GITHUB_TOKEN=5edaaf1017f691ed34e7f80878f8f5fbd071603f
21+
22+notifications:
23+ email:
24+ on_success: never
25+ on_failure: change