From 3dca1de0f761a881362041b786238ece34c027da Mon Sep 17 00:00:00 2001 From: Ben Webb Date: Sun, 10 Nov 2024 18:29:22 -0800 Subject: [PATCH] Don't fail if conda is missing defaults channel --- tools/setup_travis.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/setup_travis.sh b/tools/setup_travis.sh index 15172c8..b6a3b95 100755 --- a/tools/setup_travis.sh +++ b/tools/setup_travis.sh @@ -9,7 +9,7 @@ fi python_version=$1 -conda config --remove channels defaults # get conda-forge, not main, packages +conda config --remove channels defaults || : # get conda-forge, not main, packages conda create --yes -q -n python${python_version} -c salilab -c conda-forge python=${python_version} pip scipy matplotlib imp-nightly libboost-devel gxx_linux-64 eigen cereal swig cmake eval "$(conda shell.bash hook)" conda activate python${python_version}