Nir Soffer has uploaded a new change for review.

Change subject: travis: Separate Fedora and Centos builds
......................................................................

travis: Separate Fedora and Centos builds

Add build matrix, creating two sub-build for each build, one using the
Fedora image and the other the CentOS image.

Change-Id: I0fe524df5f4baf4f3c24f8da56c30d52ee22f8b1
Signed-off-by: Nir Soffer <[email protected]>
---
M .travis.yml
1 file changed, 7 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/84/65284/1

diff --git a/.travis.yml b/.travis.yml
index f167e8d..c5d2ec3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,11 +7,14 @@
 git:
   depth: 9999999
 
+env:
+  matrix:
+    - DOCKER_IMAGE=nirs/vdsm-centos
+    - DOCKER_IMAGE=nirs/vdsm-fedora
+
 before_install:
   - docker --version
-  - docker pull nirs/vdsm-centos
-  - docker pull nirs/vdsm-fedora
+  - docker pull $DOCKER_IMAGE
 
 script:
-  - docker run --privileged --rm -it -v `pwd`:/vdsm:Z nirs/vdsm-centos bash -c 
"cd /vdsm && ./autogen.sh --system && make && make check"
-  - docker run --privileged --rm -it -v `pwd`:/vdsm:Z nirs/vdsm-fedora bash -c 
"cd /vdsm && ./autogen.sh --system && make && make check"
+  - docker run --privileged --rm -it -v `pwd`:/vdsm:Z $DOCKER_IMAGE bash -c 
"cd /vdsm && ./autogen.sh --system && make && make check"


-- 
To view, visit https://gerrit.ovirt.org/65284
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0fe524df5f4baf4f3c24f8da56c30d52ee22f8b1
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <[email protected]>
Gerrit-Reviewer: Nir Soffer <[email protected]>
_______________________________________________
vdsm-patches mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to