From: Jeff McCune Date: Mon, 7 Jan 2013 02:45:43 +0000 (-0800) Subject: Tell Travis CI to notify the PDC WebHook X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=43a8cf5f902e0f0a4afed55833fbfc85bfaeff02;p=puppet-stdlib.git 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 --- 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