Skip to content

Commit 687b2fb

Browse files
englehardtvringar
authored andcommitted
commit renaming
1 parent e786288 commit 687b2fb

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

scripts/install-conda.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/bash
2+
3+
# This script installs mamba.
4+
# It is only intended for use by travis and docker container
5+
6+
# Users/Developers should install mamba themselves
7+
# via the instructions at https://mamba.readthedocs.io/en/latest/installation.html
8+
# Mamba has been chosen as a replacement for conda as it performs much faster
9+
# and consumes less resources
10+
11+
# Ref: https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/use-conda-with-travis-ci.html
12+
wget -q "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh" -O conda.sh;
13+
bash conda.sh -b -p $HOME/conda
14+
source "$HOME/conda/etc/profile.d/conda.sh"
15+
hash -r
16+
conda config --set always_yes yes --set changeps1 no
17+
conda update -q conda
18+
conda info -a

0 commit comments

Comments
 (0)