Skip to content
Snippets Groups Projects
Commit 4125860f authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

remove ~/.conda if it exists unless it's mac machine

parent 83e5e220
No related branches found
No related tags found
1 merge request!246Enable bob-devel builds
Pipeline #54484 passed
......@@ -20,7 +20,8 @@ stages:
.bootstrap:
before_script:
- "[ -r ~/.condarc ] && rm -f ~/.condarc"
- "[ -d ~/.conda ] && rm -rf ~/.conda"
# remove ~/.conda if it exists unless it's a mac machine
- "[ -d ~/.conda ] && [ ! -d /Applications ] && rm -rf ~/.conda"
- curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
- python3 bootstrap.py -vv channel base
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
......
......@@ -22,7 +22,8 @@ stages:
.bootstrap:
before_script:
- "[ -r ~/.condarc ] && rm -f ~/.condarc"
- "[ -d ~/.conda ] && rm -rf ~/.conda"
# remove ~/.conda if it exists unless it's a mac machine
- "[ -d ~/.conda ] && [ ! -d /Applications ] && rm -rf ~/.conda"
- curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
- python3 bootstrap.py -vv channel bdt
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
......
......@@ -22,7 +22,8 @@ stages:
.bootstrap:
before_script:
- "[ -r ~/.condarc ] && rm -f ~/.condarc"
- "[ -d ~/.conda ] && rm -rf ~/.conda"
# remove ~/.conda if it exists unless it's a mac machine
- "[ -d ~/.conda ] && [ ! -d /Applications ] && rm -rf ~/.conda"
- curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
- python3 bootstrap.py -vv channel bdt
- source ${CONDA_ROOT}/etc/profile.d/conda.sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment