From d89a67b17abaa078f4ae03f2bb528de6eb5f5dd5 Mon Sep 17 00:00:00 2001 From: Olivier Stasse <ostasse@laas.fr> Date: Wed, 11 Apr 2018 13:19:03 +0200 Subject: [PATCH] [travis] Fixing pbs between run and exec in docker. --- .travis.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 431af14..9a65c72 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,9 +5,10 @@ services: before_install: - docker build -t dyngb-trusty -f ./travis_custom/Dockerfile . -- docker run dyngb-trusty:latest sudo git clone https://github.com/stack-of-tasks/dynamic_graph_bridge.git /repo +- docker run -t -d --name dynbg-trusty-test dyngb-trusty +- docker exec dyngb-trusty-test sudo git clone https://github.com/stack-of-tasks/dynamic_graph_bridge.git /repo script: -- docker run dyngb-trusty:latest sudo mkdir /build -- docker run dyngb-trusty:latest sudo sh -c "cd /build;cmake ../repo" -- docker run dyngb-trusty:latest sudo sh -c "cd /build;make" +- docker exec dyngb-trusty-test sudo mkdir /build +- docker exec dyngb-trusty-test sudo sh -c "cd /build;cmake ../repo" +- docker exec dyngb-trusty-test sudo sh -c "cd /build;make" -- GitLab