]> git.proxmox.com Git - mirror_qemu.git/commitdiff
.travis.yml: add IRC notifications for build failures
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 12 Mar 2014 14:13:53 +0000 (14:13 +0000)
committerMichael Tokarev <mjt@tls.msk.ru>
Sat, 15 Mar 2014 09:54:18 +0000 (13:54 +0400)
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

index 0dbf2da5451b71c0664a678f75e18be220688131..04da973632b88c60cc6b7f759dc642c2ec6a0e8c 100644 (file)
@@ -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"