unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] travis: Only notify IRC on success if the previous build failed
@ 2014-08-05  1:57 Austin Clements
  2014-08-05  5:46 ` Tomi Ollila
  2014-08-05 11:19 ` David Bremner
  0 siblings, 2 replies; 3+ messages in thread
From: Austin Clements @ 2014-08-05  1:57 UTC (permalink / raw)
  To: notmuch

Without this, Travis is rather spammy.  Travis will continue to notify
the IRC channel on each build failure, which seems desirable.
---
 .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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] travis: Only notify IRC on success if the previous build failed
  2014-08-05  1:57 [PATCH] travis: Only notify IRC on success if the previous build failed Austin Clements
@ 2014-08-05  5:46 ` Tomi Ollila
  2014-08-05 11:19 ` David Bremner
  1 sibling, 0 replies; 3+ messages in thread
From: Tomi Ollila @ 2014-08-05  5:46 UTC (permalink / raw)
  To: Austin Clements, notmuch

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] travis: Only notify IRC on success if the previous build failed
  2014-08-05  1:57 [PATCH] travis: Only notify IRC on success if the previous build failed Austin Clements
  2014-08-05  5:46 ` Tomi Ollila
@ 2014-08-05 11:19 ` David Bremner
  1 sibling, 0 replies; 3+ messages in thread
From: David Bremner @ 2014-08-05 11:19 UTC (permalink / raw)
  To: Austin Clements, notmuch

Austin Clements <amdragon@MIT.EDU> writes:

> Without this, Travis is rather spammy.  Travis will continue to notify
> the IRC channel on each build failure, which seems desirable.

pushed, and it seems to have worked, since travis build #12 has not
(yet) spammed the irc channel with it's success.

d

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-08-05 11:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-05  1:57 [PATCH] travis: Only notify IRC on success if the previous build failed Austin Clements
2014-08-05  5:46 ` Tomi Ollila
2014-08-05 11:19 ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).