From a5600ef5ad258070b88b4e379e7fcdbcb5ee3f1b Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Tue, 16 Jan 2018 10:49:49 +0100
Subject: [PATCH] Update gitlab-ci build template

---
 templates/gitlab-ci.yml | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/templates/gitlab-ci.yml b/templates/gitlab-ci.yml
index 1e2d7cd..07b9830 100644
--- a/templates/gitlab-ci.yml
+++ b/templates/gitlab-ci.yml
@@ -20,12 +20,9 @@ stages:
   before_script:
     - export PATH=$CONDA_FOLDER/bin:$PATH
     - mkdir _ci
-    - curl https://curl.haxx.se/ca/cacert.pem > _ci/cacert.pem
-    - export CURL_CA_BUNDLE=`pwd`/_ci/cacert.pem
-    - export SSL_CERT_FILE=`pwd`/_ci/cacert.pem
-    - curl "https://gitlab.idiap.ch/bob/bob.admin/raw/condapackage/gitlab/install.sh" > _ci/install.sh
+    - curl --silent "https://gitlab.idiap.ch/bob/bob.admin/raw/condapackage/gitlab/install.sh" > _ci/install.sh
     - chmod 755 _ci/install.sh
-    - ./_ci/install.sh _ci condapackage
+    - ./_ci/install.sh _ci condapackage #updates installation
   script:
     - ./_ci/build.sh
 
@@ -103,7 +100,7 @@ build_macosx_36:
 .deploy_template: &deploy_job
   stage: deploy
   before_script:
-    - ./_ci/install.sh _ci condapackage
+    - ./_ci/install.sh _ci condapackage #updates
   script:
     - ./_ci/deploy.sh
   dependencies:
@@ -138,7 +135,7 @@ pypi:
   except:
     - branches
   before_script:
-    - ./_ci/install.sh _ci condapackage
+    - ./_ci/install.sh _ci condapackage #updates
   script:
     - ./_ci/pypi.sh
   dependencies:
-- 
GitLab