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: