]> git.notmuchmail.org Git - notmuch/commitdiff
travis: Only notify IRC on success if the previous build failed
authorAustin Clements <amdragon@MIT.EDU>
Tue, 5 Aug 2014 01:57:48 +0000 (21:57 -0400)
committerDavid Bremner <david@tethera.net>
Tue, 5 Aug 2014 11:03:05 +0000 (08:03 -0300)
Without this, Travis is rather spammy.  Travis will continue to notify
the IRC channel on each build failure, which seems desirable.

.travis.yml

index dff57a71ec7bbeb62114120da36af38a98dbd1cb..dbd6434e6ab3dcc66b3a52626f983b5e6960a9db 100644 (file)
@@ -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