From fb2d947eb013ae49422d76d224d132b8d983bb5c Mon Sep 17 00:00:00 2001
From: Amir MOHAMMADI <amir.mohammadi@idiap.ch>
Date: Tue, 5 Oct 2021 17:28:48 +0200
Subject: [PATCH] [ci skip] activate env first

---
 bob/devtools/data/gitlab-ci/noarch.yaml         | 2 +-
 bob/devtools/data/gitlab-ci/single-package.yaml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bob/devtools/data/gitlab-ci/noarch.yaml b/bob/devtools/data/gitlab-ci/noarch.yaml
index 8d29a69c..280e119e 100644
--- a/bob/devtools/data/gitlab-ci/noarch.yaml
+++ b/bob/devtools/data/gitlab-ci/noarch.yaml
@@ -26,8 +26,8 @@ stages:
     - python3 bootstrap.py -vv channel base
     - source ${CONDA_ROOT}/etc/profile.d/conda.sh
     # for conda inspect during builds (on macos)
-    - mamba install -n base conda-build
     - conda activate base
+    - mamba install -n base conda-build
     - bdt ci check -vv
   cache:
     paths:
diff --git a/bob/devtools/data/gitlab-ci/single-package.yaml b/bob/devtools/data/gitlab-ci/single-package.yaml
index aebf064d..f2566bcb 100644
--- a/bob/devtools/data/gitlab-ci/single-package.yaml
+++ b/bob/devtools/data/gitlab-ci/single-package.yaml
@@ -26,8 +26,8 @@ stages:
     - python3 bootstrap.py -vv channel base
     - source ${CONDA_ROOT}/etc/profile.d/conda.sh
     # for conda inspect during builds (on macos)
-    - mamba install -n base conda-build
     - conda activate base
+    - mamba install -n base conda-build
     - bdt ci check -vv
   cache:
     paths:
-- 
GitLab