Add build failure notification to slack

Created a slack integration that posts to the scratch-ops channel and ddded the token as ENV variable in travis.

Configured the slack notification to only post on failure.
This commit is contained in:
chrisgarrity 2019-02-08 10:57:22 +01:00
parent 783eab1ae3
commit 564ee36353

View file

@ -5,6 +5,10 @@ node_js:
cache:
directories:
- node_modules
notifications:
slack:
on_success: never
on_failure: $SLACK_NOTIFICATION_TOKEN
jobs:
include:
- stage: update translations