aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorPranith Kumar <bobby.prani@gmail.com>2016-06-27 14:13:22 -0400
committerAlex Bennée <alex.bennee@linaro.org>2016-07-18 16:40:58 +0100
commitcb4c2536d56c73cb5b6b9ea4f2c5ed17e9b6b9f1 (patch)
tree8571f0664f6c8711e3999a0c2edd0e37ec02e488 /.travis.yml
parent3913d3707e3debfbf0d2d014a1a793394993b088 (diff)
downloadqemu-cb4c2536d56c73cb5b6b9ea4f2c5ed17e9b6b9f1.zip
qemu-cb4c2536d56c73cb5b6b9ea4f2c5ed17e9b6b9f1.tar.gz
qemu-cb4c2536d56c73cb5b6b9ea4f2c5ed17e9b6b9f1.tar.bz2
.travis.yml: Disable IRC build status updates from forks
We want the travis build bot to post notifications on IRC only for the master qemu repository and not the various forks/branches of others. Currently there is no direct option to restrict the updates to one repository. This is being worked upon by the developers and tracked in https://github.com/travis-ci/travis-ci/issues/1094. Until such time, we can use the workaround as posted in ref. https://github.com/facebook/flow/pull/1822. This basically creates an ecrypted string which decrypts to qemu IRC channel only on "qemu/qemu" repo and not on the forks. This enables the build bot to notify the IRC only for the main repo. Signed-off-by: Pranith Kumar <bobby.prani@gmail.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index c13881e..f30b10e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -34,10 +34,13 @@ addons:
- sparse
- uuid-dev
+# The channel name "irc.oftc.net#qemu" is encrypted against qemu/qemu
+# to prevent IRC notifications from forks. This was created using:
+# $ travis encrypt -r "qemu/qemu" "irc.oftc.net#qemu"
notifications:
irc:
channels:
- - "irc.oftc.net#qemu"
+ - secure: "F7GDRgjuOo5IUyRLqSkmDL7kvdU4UcH3Lm/W2db2JnDHTGCqgEdaYEYKciyCLZ57vOTsTsOgesN8iUT7hNHBd1KWKjZe9KDTZWppWRYVwAwQMzVeSOsbbU4tRoJ6Pp+3qhH1Z0eGYR9ZgKYAoTumDFgSAYRp4IscKS8jkoedOqM="
on_success: change
on_failure: always
env: