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.
This commit is contained in:
Austin Clements 2014-08-04 21:57:48 -04:00 committed by David Bremner
parent 1d652c8719
commit 36a59b466a

View file

@ -15,5 +15,9 @@ before_install:
script: script:
- ./configure - ./configure
- make test - make test
notifications: notifications:
irc: "chat.freenode.net#notmuch" irc:
channels:
- "chat.freenode.net#notmuch"
on_success: change