From 4e7a3b644f089c61e3098927bf2676b2fae0c75e Mon Sep 17 00:00:00 2001 From: Amir MOHAMMADI <amir.mohammadi@idiap.ch> Date: Tue, 16 Jan 2018 15:15:28 +0100 Subject: [PATCH] Activating the base environment is enough to have conda in the path --- gitlab/build.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gitlab/build.sh b/gitlab/build.sh index e5faf01..47ec70a 100755 --- a/gitlab/build.sh +++ b/gitlab/build.sh @@ -4,10 +4,9 @@ source $(dirname ${0})/functions.sh # Makes sure we activate the base environment if available -PATH=${CONDA_ROOT}/bin:${PATH} -export_env PATH run_cmd source ${CONDA_ROOT}/etc/profile.d/conda.sh run_cmd conda activate base +export_env PATH run_cmd mkdir -p ./_ci/${OS_SLUG}/${PYTHON_VERSION} -- GitLab