Verified Commit b769ff8c authored by Duncan Macleod's avatar Duncan Macleod
Browse files

ci: remove old miniconda on osx before reinstalling

might prevent these annoying issues
parent c11a7432
Pipeline #152682 failed with stages
in 71 minutes and 59 seconds
......@@ -60,8 +60,12 @@ variables:
${APT_GET} update
.install-miniconda-osx: &install-miniconda-osx |
# remove old miniconda, just in case
rm -rf ${CONDA_PATH:=${CI_PROJECT_DIR}/miniconda}
# download fresh installer
curl -Lo ./miniconda.sh https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
/bin/bash miniconda.sh -b -u -p ${CONDA_PATH:=${CI_PROJECT_DIR}/miniconda}
# reinstall miniconda
/bin/bash miniconda.sh -b -p ${CONDA_PATH}
.init-conda: &init-conda |
source "${CONDA_PATH:-/opt/conda}/etc/profile.d/conda.sh"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment