Browse code

travis-ci: build only supported branches. Send email notifications on failure only

Victor Seva authored on 05/01/2015 14:38:26
Showing 1 changed files
... ...
@@ -7,11 +7,16 @@ before_install:
7 7
   - sudo apt-get install -y gdebi-core
8 8
   - sudo pkg/kamailio/deb/build_deps.sh precise $TRAVIS_BUILD_DIR
9 9
 script: ./pkg/kamailio/deb/build_travis.sh
10
+branches:
11
+  only:
12
+    - master
13
+    - 4.2
14
+    - 4.1
10 15
 notifications:
11 16
   irc:
12 17
     channels:
13 18
       - "chat.freenode.net#Kamailio"
14
-    on_success: change
19
+    on_success: never
15 20
     on_failure: always
16 21
   email:
17 22
     - sr-dev@lists.sip-router.org