Add Slack notifications to Travis config

This commit is contained in:
Rico Sta. Cruz 2019-12-25 18:55:48 +11:00
parent c9d091c264
commit 31351e989c
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
1 changed files with 10 additions and 3 deletions

View File

@ -1,7 +1,14 @@
language: ruby language: ruby
rvm: rvm:
- 2.5 - 2.5
script: script:
- make -B _site - make -B _site
- if ! make test; then make test-warning; exit 16; fi - if ! make test; then make test-warning; exit 16; fi
cache: bundler cache: bundler
notifications:
slack:
if: branch = master OR branch =~ ^.*slack.*$
rooms:
- secure: FN4trzyyUdtZ6DXj4G3A7YnhqkPyqi8jN9BIdA6S6D2eJEH1gPbZUfbqAW87LKckKZ9iYB5KDF5IuELhR3vv1DeHRqm3MKRU91JVBDT7EXbF86Z1J/JMJxNOcoWdCilcgpnm9NCkMAPFC9h6Y3txYhaLWLsnDaWlvehBsJg+Ql4=
on_success: change
on_failure: always