Re: [PATCH] travis: Only notify IRC on success if the previous build failed

Subject: Re: [PATCH] travis: Only notify IRC on success if the previous build failed

Date: Tue, 05 Aug 2014 08:46:41 +0300

To: Austin Clements, notmuch@notmuchmail.org

Cc:

From: Tomi Ollila


On Tue, Aug 05 2014, Austin Clements <amdragon@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

Thread: