Reduce Travis CI Slack notification frequency

Per https://docs.travis-ci.com/user/notifications/#Configuring-Slack-notifications
the default setting for Travis Slack notifications is to send a message
on every successful build. This commit changes this frequency, such that
notifications are always sent when builds fail and only sent when builds succeed
after a previous failure.
This commit is contained in:
Chris Beams 2018-03-15 08:44:19 +01:00
parent 261c1f56e0
commit e8048b8ae1
No known key found for this signature in database
GPG Key ID: 3D214F8F5BC5ED73

View File

@ -2,4 +2,6 @@ language: java
jdk: oraclejdk8
notifications:
slack:
on_success: change
on_failure: always
secure: EzlqWTBuhb3FCfApjUXaShWgsWOVDwMXI7ISMiVBkcl2VFISYs/lc/7Qjr7rdy4iqQOQXMcUPHdwMUp0diX+GxiSjLARjUpKIvNOPswZWBL+3Z1h28jyOwtHRviZbM1EU0BZROrr+ODyTNz2lf+L1iXTkpSvk50o5JAnAkumsPw=