travis-ci: build only supported branches. Send email notifications on failure only
[sip-router] / .travis.yml
1 language: c
2 compiler:
3   - gcc
4   - clang
5 before_install:
6   - sudo apt-get update -qq
7   - sudo apt-get install -y gdebi-core
8   - sudo pkg/kamailio/deb/build_deps.sh precise $TRAVIS_BUILD_DIR
9 script: ./pkg/kamailio/deb/build_travis.sh
10 branches:
11   only:
12     - master
13     - 4.2
14     - 4.1
15 notifications:
16   irc:
17     channels:
18       - "chat.freenode.net#Kamailio"
19     on_success: never
20     on_failure: always
21   email:
22     - sr-dev@lists.sip-router.org