From 564ee36353ae5577f8c7befc2a39f8dcfaf96240 Mon Sep 17 00:00:00 2001 From: chrisgarrity Date: Fri, 8 Feb 2019 10:57:22 +0100 Subject: [PATCH] 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. --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 6652bb8d..9cceee71 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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