11eae2df712c5304dbe9b1f49157ba56fc00bc76
[sip-router] / .travis.yml
1 sudo: required
2 language: c
3 compiler:
4   - gcc
5   - clang
6 env:
7   - DIST=stretch
8   - DIST=sid
9 services:
10   - docker
11 before_install:
12   - docker pull kamailio/pkg-kamailio-docker:dev-$DIST
13 script: docker run -v $TRAVIS_BUILD_DIR:/code:rw kamailio/pkg-kamailio-docker:dev-$DIST /bin/bash -c "cd /code; CC=$CC DIST=$DIST ./test/travis/build_travis.sh"
14 branches:
15   only:
16     - 'master'
17     - '/^5\.[0-9]+$/'
18 notifications:
19   irc:
20     channels:
21       - "chat.freenode.net#kamailio-dev"
22     on_success: never
23     on_failure: always
24   email:
25     recipients:
26       - sr-dev@lists.kamailio.org
27     on_success: never
28     on_failure: always