From 8bfe0a4b2ea98dac2574c24b78c9ccd4d17f61a6 Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Mon, 5 Jan 2015 15:38:26 +0100 Subject: [PATCH] travis-ci: build only supported branches. Send email notifications on failure only (cherry picked from commit dc9928ec99901ec713d1a79b02a8554ed5f6618e) --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d5b76b01a76..b7b4352d517 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,11 +7,16 @@ before_install: - sudo apt-get install -y gdebi-core - sudo pkg/kamailio/deb/build_deps.sh precise $TRAVIS_BUILD_DIR script: ./pkg/kamailio/deb/build_travis.sh +branches: + only: + - master + - 4.2 + - 4.1 notifications: irc: channels: - "chat.freenode.net#Kamailio" - on_success: change + on_success: never on_failure: always email: - sr-dev@lists.sip-router.org