travisci: use regex to select 4.X branches
[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 test/travis/build_deps.sh precise $TRAVIS_BUILD_DIR
9 script: ./test/travis/build_travis.sh
10 branches:
11   only:
12     - 'master'
13     - '/^4\.[0-9]+$/'
14 notifications:
15   irc:
16     channels:
17       - "chat.freenode.net#Kamailio"
18     on_success: never
19     on_failure: always
20   email:
21     recipients:
22       - sr-dev@lists.sip-router.org
23     on_success: never
24     on_failure: always