From d8436da540274736f5749a8d30fff98bd53dbb4f Mon Sep 17 00:00:00 2001 From: Erik Frojdh Date: Wed, 12 Feb 2020 09:05:34 +0100 Subject: [PATCH] conda --- .travis.yml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5d5ee829f..59cdd199d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,25 +18,22 @@ install: - ldd --version - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; - bash miniconda.sh -b -p $HOME/miniconda - - export PATH="$HOME/miniconda/bin:$PATH" + # - export PATH="$HOME/miniconda/bin:$PATH" - rm -f miniconda.sh - hash -r - conda config --set always_yes yes --set changeps1 no - conda config --add channels conda-forge - conda config --add channels slsdetectorgroup - - conda update conda - - conda update --all - - conda install conda-build=3.17 - - conda install anaconda-client - - conda install conda-verify + - conda update -n base -c defaults conda + # Useful for debugging any issues with conda - conda info -a - - - # Replace dep1 dep2 ... with your dependencies - - conda create -q -n test-environment python=$CONDA_PY - - source activate test-environment + - conda create -q -n testenv python=$CONDA_PY + - conda activate testenv + - conda install conda-build + - conda install anaconda-client + - conda install conda-verify - conda-build . script: