Parcourir la source

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

Victor Seva il y a 10 ans
Parent
commit
dc9928ec99
1 fichiers modifiés avec 6 ajouts et 1 suppressions
  1. 6 1
      .travis.yml

+ 6 - 1
.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:
     - [email protected]