From 5c18cb84f27410535c917af52ab55af6bc493caf Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Sat, 16 Feb 2019 09:16:07 +0100 Subject: Remove explicit email notifications from .travis.yml Explicit email addresses don't play well with forks, i.e. the given mail receivers are *always* notified instead of the author and the committer. This led to build notifications sent to me instead of Matt when he committed something in his own fork. The default rules are much better in this case. The drawback is that *only* the committer and author get notified and there is obviously no way to add anybody that gets notified *additionally* to author and committer. https://docs.travis-ci.com/user/notifications/#how-is-the-build-email-receiver-determined --- .travis.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index feed463e7..75d1df895 100644 --- a/.travis.yml +++ b/.travis.yml @@ -67,8 +67,12 @@ after_success: cd - fi -notifications: - email: - recipients: - - fabien@onepost.net - - albrechts.fltk@online.de +# explicit email notifications don't play well with forks: don't use them +# default: committer and author get notifications +# we're now using defaults for everything, hence settings are commented +# out, left only for documentation purposes... + +#notifications: +# email: +# on_success: change # default: change, may be: never +# on_failure: always # default: always -- cgit v1.2.3