From 3322cc7ac1c7032252707eaf772114c2782205a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Franck=20P=C3=A9rignon?= <franck.perignon@imag.fr>
Date: Thu, 19 May 2016 08:41:27 +0000
Subject: [PATCH] Update .gitlab-ci.yml

---
 .gitlab-ci.yml | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 451598104..7d7bd510a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -41,9 +41,6 @@ test:debian:
     #- make test
   dependencies:
     - build:debian
-  artifacts:
-    paths:
-    - build/
 
 config:ubuntu:
   image: fperignon/hysop:ubuntu
@@ -65,6 +62,8 @@ build:ubuntu:
     - cd build
     - echo $'y\n'|make uninstall
     - make clean
+    - cd ..
+    - rm -rf build
   dependencies:
     - config:ubuntu
   #artifacts:
@@ -81,8 +80,8 @@ test:ubuntu:
     - su "hysoprunner" -c "sh ci/run_tests.sh"
     #- su "hysoprunner" -c "ctest -VV -I 1,4"
     #- make test
-  #dependencies:
-  #  - build:ubuntu
+  dependencies:
+    - build:ubuntu
   #artifacts:
   #  paths:
   #  - build/
-- 
GitLab