Browse code

travis: use buster instead of stretch

* buster is now Debian stable!! :-)

Victor Seva authored on 11/07/2019 08:52:35
Showing 1 changed files
... ...
@@ -4,7 +4,7 @@ compiler:
4 4
   - gcc
5 5
   - clang
6 6
 env:
7
-  - DIST=stretch
7
+  - DIST=buster
8 8
   - DIST=sid
9 9
 services:
10 10
   - docker
Browse code

travis-ci: enable parallel builds on stretch and sid based images

Victor Seva authored on 14/12/2017 19:39:21
Showing 1 changed files
... ...
@@ -3,15 +3,18 @@ language: c
3 3
 compiler:
4 4
   - gcc
5 5
   - clang
6
+env:
7
+  - DIST=stretch
8
+  - DIST=sid
6 9
 services:
7 10
   - docker
8 11
 before_install:
9
-  - docker pull kamailio/pkg-kamailio-docker:dev-stretch
10
-script: docker run -v $TRAVIS_BUILD_DIR:/code:rw kamailio/pkg-kamailio-docker:dev-stretch /bin/bash -c "export CC=$CC; cd /code; ./test/travis/build_travis.sh"
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"
11 14
 branches:
12 15
   only:
13 16
     - 'master'
14
-    - '/^4\.[0-9]+$/'
17
+    - '/^5\.[0-9]+$/'
15 18
 notifications:
16 19
   irc:
17 20
     channels:
Browse code

travis-ci: use proper domain for sr-dev mailing list [skip ci]

Victor Seva authored on 30/05/2017 14:56:38
Showing 1 changed files
... ...
@@ -20,6 +20,6 @@ notifications:
20 20
     on_failure: always
21 21
   email:
22 22
     recipients:
23
-      - sr-dev@lists.sip-router.org
23
+      - sr-dev@lists.kamailio.org
24 24
     on_success: never
25 25
     on_failure: always
Browse code

travis: use kamailio/pkg-kamailio-docker

Victor Seva authored on 30/01/2017 12:47:03
Showing 1 changed files
... ...
@@ -6,8 +6,8 @@ compiler:
6 6
 services:
7 7
   - docker
8 8
 before_install:
9
-  - docker pull linuxmaniac/pkg-kamailio-docker:stretch
10
-script: docker run -v $TRAVIS_BUILD_DIR:/code:rw linuxmaniac/pkg-kamailio-docker:stretch /bin/bash -c "export CC=$CC; cd /code; ./test/travis/build_travis.sh"
9
+  - docker pull kamailio/pkg-kamailio-docker:dev-stretch
10
+script: docker run -v $TRAVIS_BUILD_DIR:/code:rw kamailio/pkg-kamailio-docker:dev-stretch /bin/bash -c "export CC=$CC; cd /code; ./test/travis/build_travis.sh"
11 11
 branches:
12 12
   only:
13 13
     - 'master'
Browse code

travis-ci: IRC notifications to #kamailio-dev channel

Victor Seva authored on 26/04/2016 08:57:34
Showing 1 changed files
... ...
@@ -15,7 +15,7 @@ branches:
15 15
 notifications:
16 16
   irc:
17 17
     channels:
18
-      - "chat.freenode.net#Kamailio"
18
+      - "chat.freenode.net#kamailio-dev"
19 19
     on_success: never
20 20
     on_failure: always
21 21
   email:
Browse code

test/travis: migrate to docker environment

- using https://hub.docker.com/r/linuxmaniac/pkg-kamailio-docker
- update list of supported modules
- dynamic clang version
- show CC version

Victor Seva authored on 23/11/2015 23:42:47
Showing 1 changed files
... ...
@@ -1,12 +1,13 @@
1
+sudo: required
1 2
 language: c
2 3
 compiler:
3 4
   - gcc
4 5
   - clang
6
+services:
7
+  - docker
5 8
 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
9
+  - docker pull linuxmaniac/pkg-kamailio-docker:stretch
10
+script: docker run -v $TRAVIS_BUILD_DIR:/code:rw linuxmaniac/pkg-kamailio-docker:stretch /bin/bash -c "export CC=$CC; cd /code; ./test/travis/build_travis.sh"
10 11
 branches:
11 12
   only:
12 13
     - 'master'
Browse code

travisci: use regex to select 4.X branches

Victor Seva authored on 12/05/2015 19:38:58
Showing 1 changed files
... ...
@@ -9,9 +9,8 @@ before_install:
9 9
 script: ./test/travis/build_travis.sh
10 10
 branches:
11 11
   only:
12
-    - master
13
-    - 4.2
14
-    - 4.1
12
+    - 'master'
13
+    - '/^4\.[0-9]+$/'
15 14
 notifications:
16 15
   irc:
17 16
     channels:
Browse code

tracis-ci: disable unit tests

Not stable enough yet. We need to improve this

Victor Seva authored on 09/01/2015 19:31:48
Showing 1 changed files
... ...
@@ -4,9 +4,8 @@ compiler:
4 4
   - clang
5 5
 before_install:
6 6
   - sudo apt-get update -qq
7
-  - sudo apt-get install -y gdebi-core sip-tester sipsak
7
+  - sudo apt-get install -y gdebi-core
8 8
   - sudo test/travis/build_deps.sh precise $TRAVIS_BUILD_DIR
9
-  - ./test/travis/databases_travis.sh
10 9
 script: ./test/travis/build_travis.sh
11 10
 branches:
12 11
   only:
Browse code

test/travis: move travis scripts to tests/travis ( Closes #20 )

Victor Seva authored on 06/01/2015 20:55:25
Showing 1 changed files
... ...
@@ -5,9 +5,9 @@ compiler:
5 5
 before_install:
6 6
   - sudo apt-get update -qq
7 7
   - sudo apt-get install -y gdebi-core sip-tester sipsak
8
-  - sudo pkg/kamailio/deb/build_deps.sh precise $TRAVIS_BUILD_DIR
9
-  - ./pkg/kamailio/deb/databases_travis.sh
10
-script: ./pkg/kamailio/deb/build_travis.sh
8
+  - sudo test/travis/build_deps.sh precise $TRAVIS_BUILD_DIR
9
+  - ./test/travis/databases_travis.sh
10
+script: ./test/travis/build_travis.sh
11 11
 branches:
12 12
   only:
13 13
     - master
Browse code

travis-ci: exec test/unit tests

- Disable tests that do not pass on travis-ci environment right now

Closes #19

Victor Seva authored on 06/01/2015 10:55:46
Showing 1 changed files
... ...
@@ -4,7 +4,7 @@ compiler:
4 4
   - clang
5 5
 before_install:
6 6
   - sudo apt-get update -qq
7
-  - sudo apt-get install -y gdebi-core
7
+  - sudo apt-get install -y gdebi-core sip-tester sipsak
8 8
   - sudo pkg/kamailio/deb/build_deps.sh precise $TRAVIS_BUILD_DIR
9 9
   - ./pkg/kamailio/deb/databases_travis.sh
10 10
 script: ./pkg/kamailio/deb/build_travis.sh
Browse code

travis-ci: create MySQL and PostgreSQL kamailio databases for testing

Victor Seva authored on 06/01/2015 10:30:02
Showing 1 changed files
... ...
@@ -6,6 +6,7 @@ before_install:
6 6
   - sudo apt-get update -qq
7 7
   - sudo apt-get install -y gdebi-core
8 8
   - sudo pkg/kamailio/deb/build_deps.sh precise $TRAVIS_BUILD_DIR
9
+  - ./pkg/kamailio/deb/databases_travis.sh
9 10
 script: ./pkg/kamailio/deb/build_travis.sh
10 11
 branches:
11 12
   only:
Browse code

travis-ci: set proper email notification options

Victor Seva authored on 05/01/2015 18:07:08
Showing 1 changed files
... ...
@@ -19,4 +19,7 @@ notifications:
19 19
     on_success: never
20 20
     on_failure: always
21 21
   email:
22
-    - sr-dev@lists.sip-router.org
22
+    recipients:
23
+      - sr-dev@lists.sip-router.org
24
+    on_success: never
25
+    on_failure: always
Browse code

travis-ci: build only supported branches. Send email notifications on failure only

Victor Seva authored on 05/01/2015 14:38:26
Showing 1 changed files
... ...
@@ -7,11 +7,16 @@ before_install:
7 7
   - sudo apt-get install -y gdebi-core
8 8
   - sudo pkg/kamailio/deb/build_deps.sh precise $TRAVIS_BUILD_DIR
9 9
 script: ./pkg/kamailio/deb/build_travis.sh
10
+branches:
11
+  only:
12
+    - master
13
+    - 4.2
14
+    - 4.1
10 15
 notifications:
11 16
   irc:
12 17
     channels:
13 18
       - "chat.freenode.net#Kamailio"
14
-    on_success: change
19
+    on_success: never
15 20
     on_failure: always
16 21
   email:
17 22
     - sr-dev@lists.sip-router.org
Browse code

pkg/kamailio: Initial Travis CI configuration

Victor Seva authored on 18/12/2014 20:41:46
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,17 @@
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 pkg/kamailio/deb/build_deps.sh precise $TRAVIS_BUILD_DIR
9
+script: ./pkg/kamailio/deb/build_travis.sh
10
+notifications:
11
+  irc:
12
+    channels:
13
+      - "chat.freenode.net#Kamailio"
14
+    on_success: change
15
+    on_failure: always
16
+  email:
17
+    - sr-dev@lists.sip-router.org