[sr-dev] git:master:9a262f81: travis-ci: enable parallel builds on stretch and sid based images

Victor Seva linuxmaniac at torreviejawireless.org
Thu Dec 14 20:41:11 CET 2017


Module: kamailio
Branch: master
Commit: 9a262f816261fdaf371fbfd34b6460b6221df9ef
URL: https://github.com/kamailio/kamailio/commit/9a262f816261fdaf371fbfd34b6460b6221df9ef

Author: Victor Seva <linuxmaniac at torreviejawireless.org>
Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
Date: 2017-12-14T20:39:21+01:00

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

---

Modified: .travis.yml

---

Diff:  https://github.com/kamailio/kamailio/commit/9a262f816261fdaf371fbfd34b6460b6221df9ef.diff
Patch: https://github.com/kamailio/kamailio/commit/9a262f816261fdaf371fbfd34b6460b6221df9ef.patch

---

diff --git a/.travis.yml b/.travis.yml
index d51c90349c..11eae2df71 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,15 +3,18 @@ language: c
 compiler:
   - gcc
   - clang
+env:
+  - DIST=stretch
+  - DIST=sid
 services:
   - docker
 before_install:
-  - docker pull kamailio/pkg-kamailio-docker:dev-stretch
-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"
+  - 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\.[0-9]+$/'
+    - '/^5\.[0-9]+$/'
 notifications:
   irc:
     channels:




More information about the sr-dev mailing list