[PATCH] travis: Only notify IRC on success if the previous build failed
Tomi Ollila
tomi.ollila at iki.fi
Mon Aug 4 22:46:41 PDT 2014
On Tue, Aug 05 2014, Austin Clements <amdragon at MIT.EDU> wrote:
> Without this, Travis is rather spammy. Travis will continue to notify
> the IRC channel on each build failure, which seems desirable.
> ---
Found http://docs.travis-ci.com/user/notifications/#IRC-notification
and based on that (and by checking "Email notifications" above)
this should work.
+1
Tomi
> .travis.yml | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/.travis.yml b/.travis.yml
> index dff57a7..dbd6434 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -15,5 +15,9 @@ before_install:
> script:
> - ./configure
> - make test
> +
> notifications:
> - irc: "chat.freenode.net#notmuch"
> + irc:
> + channels:
> + - "chat.freenode.net#notmuch"
> + on_success: change
> --
> 2.0.0
More information about the notmuch
mailing list