From dc8d34995a3a413c58a408f1729442b274ad4921 Mon Sep 17 00:00:00 2001
From: Alejandro Lopez Gestoso <alopez@iri.upc.edu>
Date: Fri, 2 Sep 2022 17:05:04 +0200
Subject: [PATCH] Update .gitlab-ci.yml file

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f9a8585..c91e508 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,12 +10,13 @@
       - declare -a DEP
       - echo ${DEP[1]:1}
       - echo ${DEP[4]}
-      #- for ((i=1;i<${#DEP[@]};i+=3))
-      #  do
-      #    if [ ${i} -eq 1 ]
-      #    then 
-      #      apt -y install ${DEP[${i}]:1};
-      #    else
-      #      apt -y install ${DEP[${i}]};
-      #    fi
-      #  done
\ No newline at end of file
+      - |+
+        for ((i=1;i<${#DEP[@]};i+=3))
+        do
+          if [ ${i} -eq 1 ]
+          then 
+            apt -y install ${DEP[${i}]:1};
+          else
+            apt -y install ${DEP[${i}]};
+          fi
+        done
\ No newline at end of file
-- 
GitLab