From: Austin Clements Date: Tue, 5 Aug 2014 01:57:48 +0000 (-0400) Subject: travis: Only notify IRC on success if the previous build failed X-Git-Tag: 0.19_rc1~116 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=36a59b466a18211d7164cd8078c5c1ddd0f2c278;hp=1d652c87193b34fe1057d7b02db0a4aad95b0fad travis: Only notify IRC on success if the previous build failed Without this, Travis is rather spammy. Travis will continue to notify the IRC channel on each build failure, which seems desirable. --- diff --git a/.travis.yml b/.travis.yml index dff57a71..dbd6434e 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