From 7cd1fbea2c7f1477cef1188024eeab00fe383198 Mon Sep 17 00:00:00 2001
From: Olivier Stasse <ostasse@laas.fr>
Date: Wed, 11 Apr 2018 10:39:32 +0200
Subject: [PATCH] [travis] sudo for cmds.

---
 .travis.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index c005bfe..f9371b0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,9 +5,9 @@ services:
 
 before_install:
 - docker build -t dyngb-trusty -f ./travis_custom/Dockerfile .
-- docker run dyngb-trusty:latest git clone https://github.com/stack-of-tasks/dynamic_graph_bridge.git /repo
+- docker run dyngb-trusty:latest sudo git clone https://github.com/stack-of-tasks/dynamic_graph_bridge.git /repo
 
 script:
-- docker exec dyngb-trusty make /build
-- docker exec dyngb-trusty cmake -DCMAKE_SOURCE_DIR=/repo -DCMAKE_BINARY_DIR=/build
-- docker exec dyngb-trusty cmake /build
+- docker exec dyngb-trusty sudo make /build
+- docker exec dyngb-trusty sudo cmake -DCMAKE_SOURCE_DIR=/repo -DCMAKE_BINARY_DIR=/build
+- docker exec dyngb-trusty sudo cmake /build
-- 
GitLab