From 7576089c462e4accadef298e68268f8781f4be68 Mon Sep 17 00:00:00 2001 From: Aaron Jorbin Date: Fri, 25 Sep 2015 19:42:53 +0000 Subject: [PATCH] Add Travis Notifications to the #core channel on Slack This is hopefully the final attempt at adding notifications to the #core channel on Slack. By default, Travis spams the channel. In order to cut that down a bit, notifications are set as follows: - On Failure: Always (If the tests fail, the world needs to know) - On Success: Change (this means that the first green run after a red run aka, the world is happy again) - On Start: Never (Travis runs every time there is a commit. No need for a notification) Props Netweb, samuelsidler Fixes #30755 git-svn-id: https://develop.svn.wordpress.org/trunk@34555 602fd350-edb4-49c9-b593-d223f7449a82 --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e9dc948ec3..9c26a7de34 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,4 +40,7 @@ before_script: script: grunt $WP_TRAVISCI notifications: slack: - secure: "ln2sC0yUOMzGGJ9PR56cxafCO2YSBQtFs0JuoSjvmXN0+jCGbQL781z2osEJ24BEl4o3zMLfiFPgieM7D+VuRObU6TiVFLmbebgoSyW/1Gs+jPNxBXPKOSLE3/4CV8ifyhm5XZr2xT6z8OWC6StHl2nPis4wZ91UHbj6FhlMyFM=" + secure: WuMCpfgrm0GIdPbYzsGOsakZ5x7QIbEBwD+CPHVXGKbL3ZbqQ+BVcDRnMiwzxjgf1vzg2de0taXCSMGKBxsWce23NZkOnmwPdIB8XOnwDV7T7zylgYD5S7p3gI6gV0l8Y3/gROdXFZap6viC1qRr4E79ow53RKk7E3WyOo7TWqo= + on_start: never + on_failure: always + on_success: change