[sr-dev] git:5.1:22077f9c: travis-ci: enable parallel builds on stretch and sid based images

Victor Seva linuxmaniac at torreviejawireless.org
Fri Dec 15 11:52:59 CET 2017


Module: kamailio
Branch: 5.1
Commit: 22077f9c04934ccf6dbbc840592d085cea58d6ea
URL: https://github.com/kamailio/kamailio/commit/22077f9c04934ccf6dbbc840592d085cea58d6ea

Author: Victor Seva <linuxmaniac at torreviejawireless.org>
Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
Date: 2017-12-15T11:51:41+01:00

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

(cherry picked from commit 9a262f816261fdaf371fbfd34b6460b6221df9ef)

---

Modified: .travis.yml

---

Diff:  https://github.com/kamailio/kamailio/commit/22077f9c04934ccf6dbbc840592d085cea58d6ea.diff
Patch: https://github.com/kamailio/kamailio/commit/22077f9c04934ccf6dbbc840592d085cea58d6ea.patch

---

diff --git a/.travis.yml b/.travis.yml
index 9b7c448d3c..df0862fce5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,11 +3,14 @@ language: c
 compiler:
   - gcc
   - clang
+env:
+  - DIST=stretch
+  - DIST=sid
 services:
   - docker
 before_install:
-  - docker pull kamailio/pkg-kamailio-docker:5.1-stretch
-script: docker run -v $TRAVIS_BUILD_DIR:/code:rw kamailio/pkg-kamailio-docker:5.1-stretch /bin/bash -c "export CC=$CC; cd /code; ./test/travis/build_travis.sh"
+  - docker pull kamailio/pkg-kamailio-docker:5.1-$DIST
+script: docker run -v $TRAVIS_BUILD_DIR:/code:rw kamailio/pkg-kamailio-docker:5.1-$DIST /bin/bash -c "cd /code; CC=$CC DIST=$DIST ./test/travis/build_travis.sh"
 branches:
   only:
     - '/^5\.[0-9]+$/'




More information about the sr-dev mailing list