language: c
compiler:
  - gcc
  - clang
before_install:
  - sudo apt-get update -qq
  - 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
notifications:
  irc:
    channels:
      - "chat.freenode.net#Kamailio"
    on_success: change
    on_failure: always
  email:
    - sr-dev@lists.sip-router.org