diff --git a/tools/setup_ci.sh b/tools/setup_ci.sh index 8fa725ea..f633b5dd 100755 --- a/tools/setup_ci.sh +++ b/tools/setup_ci.sh @@ -9,8 +9,13 @@ fi python_version=$1 +if [ ${python_version} = "2.7" ]; then + BOOST="" +else + BOOST="libboost-devel" +fi 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 +conda create --yes -q -n python${python_version} -c salilab -c conda-forge python=${python_version} pip scipy matplotlib imp-nightly ${BOOST} gxx_linux-64 eigen cereal swig cmake eval "$(conda shell.bash hook)" conda activate python${python_version} pip install pytest-cov coverage