modules: readme files regenerated - call_control ... [skip ci]
[sip-router] / .travis.yml
index d5b76b0..11eae2d 100644 (file)
@@ -1,17 +1,28 @@
+sudo: required
 language: c
 compiler:
   - gcc
   - clang
+env:
+  - DIST=stretch
+  - DIST=sid
+services:
+  - docker
 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
+  - docker pull kamailio/pkg-kamailio-docker:dev-$DIST
+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"
+branches:
+  only:
+    - 'master'
+    - '/^5\.[0-9]+$/'
 notifications:
   irc:
     channels:
-      - "chat.freenode.net#Kamailio"
-    on_success: change
+      - "chat.freenode.net#kamailio-dev"
+    on_success: never
     on_failure: always
   email:
-    - sr-dev@lists.sip-router.org
+    recipients:
+      - sr-dev@lists.kamailio.org
+    on_success: never
+    on_failure: always