diff mbox

[PULL,05/13] .travis.yml: add IRC notifications for build failures

Message ID 1394877419-19949-6-git-send-email-mjt@msgid.tls.msk.ru
State Accepted
Commit 39d16d29c81295be72dbae6e6bc7adc58deacb41
Headers show

Commit Message

Michael Tokarev March 15, 2014, 9:56 a.m. UTC
From: Alex Bennée <alex.bennee@linaro.org>

I'm trying to avoid spamming the IRC channel (not overly likely as
builds take a while). So failure will always be reported but if the
build continues to work then the IRC notifications will be quiet.

Note any GitHub based repository with Travis enabled will use this
notification. If it proves to be too spammy we may want to ask users not
to use Travis themselves although this seems sub-optimal.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 .travis.yml |    6 ++++++
 1 file changed, 6 insertions(+)
diff mbox

Patch

diff --git a/.travis.yml b/.travis.yml
index 0dbf2da..04da973 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,6 +4,12 @@  python:
 compiler:
   - gcc
   - clang
+notifications:
+  irc:
+    channels:
+      - "irc.oftc.net#qemu"
+    on_success: change
+    on_failure: always
 env:
   global:
     - TEST_CMD="make check"