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

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

Date: Mon, 4 Aug 2014 21:57:48 -0400

To: notmuch@notmuchmail.org

Cc:

From: Austin Clements


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


Thread: