travis-ci: build only supported branches. Send email notifications on failure only
authorVictor Seva <linuxmaniac@torreviejawireless.org>
Mon, 5 Jan 2015 14:38:26 +0000 (15:38 +0100)
committerVictor Seva <linuxmaniac@torreviejawireless.org>
Mon, 5 Jan 2015 14:38:26 +0000 (15:38 +0100)
.travis.yml

index d5b76b0..b7b4352 100644 (file)
@@ -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