From 43a8cf5f902e0f0a4afed55833fbfc85bfaeff02 Mon Sep 17 00:00:00 2001 From: Jeff McCune Date: Sun, 6 Jan 2013 18:45:43 -0800 Subject: Tell Travis CI to notify the PDC WebHook Without this patch the so-called "puppet development community" hook service isn't being notified when Travis CI accepts jobs. This is a problem because we want the ability for Travis Bot to comment on pull requests as a result of CI build results. For example, if the build fails, then Gepetto Bot could make some helpful suggestions on how to re-run the build by amending a commit and force-pushing the branch. This patch uses the notifications section of the travis.yml configuration file, as documented at: http://about.travis-ci.org/docs/user/notifications/#Webhook-notification --- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index 529afbf..2a9df63 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,3 +18,10 @@ matrix: env: PUPPET_GEM_VERSION="~> 2.7" - rvm: ruby-head env: PUPPET_GEM_VERSION="~> 2.7" +notifications: + webhooks: + urls: + - https://puppet-dev-community.herokuapp.com/event/travis-ci/ + on_success: always + on_failure: always + on_start: yes -- cgit v1.2.3