From d37cb4a17a498211ee7c6c0212ca95ebf9dffee2 Mon Sep 17 00:00:00 2001
From: Amir MOHAMMADI <amir.mohammadi@idiap.ch>
Date: Tue, 26 Sep 2017 18:50:27 +0200
Subject: [PATCH] One cache for linux, one cache for mac

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

diff --git a/templates/gitlab-ci.yml b/templates/gitlab-ci.yml
index 36cfa09..3114816 100644
--- a/templates/gitlab-ci.yml
+++ b/templates/gitlab-ci.yml
@@ -42,7 +42,7 @@ stages:
   variables: &linux_variables
     CONDA_FOLDER: "/opt/miniconda"
   cache:
-    key: "$CI_JOB_NAME"
+    key: "linux-cache"
     paths:
       - ${CONDA_ENVS_PATH}/.pkgs/*.tar.bz2
       - ${CONDA_ENVS_PATH}/.pkgs/urls.txt
@@ -59,7 +59,7 @@ stages:
   variables: &macosx_variables
     CONDA_FOLDER: "${CI_PROJECT_DIR}/${CONDA_ENVS_PATH}"
   cache:
-    key: "$CI_JOB_NAME"
+    key: "macosx-cache"
     paths:
       - miniconda.sh
       - ${CONDA_ENVS_PATH}/pkgs/*.tar.bz2
-- 
GitLab