summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2020-09-08 08:55:29 -0400
committerGitHub <noreply@github.com>2020-09-08 22:55:29 +1000
commit173f508314575a487b4711b2a917d834886cb912 (patch)
tree9e20a80f8c26c8f13ab4605b9ca50d8ac32f33f3 /.travis.yml
parente08738e5a340c13da74b4e6e60f5c98fb342e352 (diff)
Make internal Travis CI notifications behave better. (#9897)
* Add failure messages for package build checks. * Make notifications only happen for master branch.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index df19263d10..48999dec78 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -39,8 +39,12 @@ install:
# Setup notification system
#
notifications:
- webhooks: https://app.fossa.io/hooks/travisci
-
+ webhooks:
+ urls:
+ - https://app.fossa.io/hooks/travisci
+ if: branch = master
+ slack:
+ if: branch = master
# Define the stage sequence and conditionals
#
@@ -182,6 +186,7 @@ jobs:
env:
- BUILDER_NAME="builder" BUILD_DISTRO="debian" BUILD_RELEASE="buster" BUILD_STRING="debian/buster"
- PACKAGE_TYPE="deb" REPO_TOOL="apt-get"
+ after_failure: post_message "TRAVIS_MESSAGE" "Netdata DEB package build check failed."
- name: RPM package test
if: commit_message =~ /^((?!\[Package (amd64|arm64|i386) (DEB|RPM)( .*)?\]).)*$/
@@ -203,6 +208,7 @@ jobs:
env:
- BUILDER_NAME="builder" BUILD_DISTRO="fedora" BUILD_RELEASE="31" BUILD_STRING="fedora/31"
- PACKAGE_TYPE="rpm" REPO_TOOL="dnf"
+ after_failure: post_message "TRAVIS_MESSAGE" "Netdata RPM package build check failed."
- stage: Support activities on main branch
name: Generate changelog for release (only on special and tagged commit msg)