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

Austin Clements amdragon at MIT.EDU
Mon Aug 4 18:57:48 PDT 2014


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



More information about the notmuch mailing list