From aa30bfd53651ff87983e5706a0d06706e8265c3b Mon Sep 17 00:00:00 2001 From: hsbt Date: Thu, 27 Jul 2017 11:56:54 +0000 Subject: [PATCH] Update configuration for slack notification. * Encrypted slack token. * Only notify when build fails and it recovered. * Only notify trunk build without pull requests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1c2a461a1d..1ac4651ebd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -86,7 +86,11 @@ notifications: template: - "%{message} by @%{author}: See %{build_url}" - slack: ruby:69mfLJaJVptlspU8HTQv1DhM + slack: + secure: lbYVj0Th1AOxovf44zjMr7v6JgWVcsw4tmK3LhzbdpR6GnPHRkrFxDBykk+tE1346qJJ0YLlyFn3ib3Z4QyttIO00Sg6mqk8NGPjG7DrwUJ6o43Yd1ePZr80W+8Wz20/LVEOAhidJI3LANU2+bWa/VdcHtFT1/Cr+CMrdITD+tI= + on_pull_requests: false + on_success: change + on_failure: always # Local Variables: # mode: YAML