rtpengine: add modparam to switch between legacy hashing algorithm and SHA1
[sip-router] / .travis.yml
index b7b4352..11eae2d 100644 (file)
@@ -1,22 +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
-    - 4.2
-    - 4.1
+    - 'master'
+    - '/^5\.[0-9]+$/'
 notifications:
   irc:
     channels:
-      - "chat.freenode.net#Kamailio"
+      - "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