浏览代码

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

Victor Seva 10 年之前
父节点
当前提交
dc9928ec99
共有 1 个文件被更改,包括 6 次插入1 次删除
  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]