From 4e576f657235cd9e78952b4857e5e1464a178580 Mon Sep 17 00:00:00 2001
From: Patrick Ziegler
Date: Thu, 3 Dec 2020 14:38:15 +0100
Subject: [PATCH] travis: Disable notifications for passed builds (#2265)
Generates a bit of spam in IRC when making releases, because each branch
created will trigger a message.
---
.travis.yml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 5c4fd79c..9e1615c6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -97,12 +97,13 @@ notifications:
template:
- " %{repository_slug}(%{branch})#%{build_number} | \"%{commit_subject}\" by %{author} | Commit #%{commit} %{result}: %{build_url}"
use_notice: true
- on_success: change
+ on_success: never
on_failure: change
+ on_start: never
webhooks:
urls:
# For the https://gitter.im/polybar/polybar gitter room
- https://webhooks.gitter.im/e/10bdbe25961312646ace
- on_success: change
+ on_success: never
on_failure: always
on_start: never