From d5ec02c2e6d9476260a15e03129e660998488658 Mon Sep 17 00:00:00 2001 From: Josh Barnes Date: Thu, 31 Aug 2017 23:33:22 +0100 Subject: [PATCH] Use newer conda version for recipe build test Now that the latest version doesn't have the previously-encountered bug --- .travis.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 01fe86b..24c05fc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -104,24 +104,13 @@ before_install: - 'if [[ ${OSX_PYTHON} ]]; then if [[ $(which python3.4) ]]; then ls -l $(which python3.4); else echo "missing"; fi; fi' - 'if [[ ${OSX_PYTHON} ]]; then if [[ $(which python3.5) ]]; then ls -l $(which python3.5); else echo "missing"; fi; fi' # stuff for conda recipe - # Note we're currently installing 4.3.11 specifically, since conda 4.3.14-16 - # have a bug which stop them intalling anything on travis (see - # https://github.com/conda/conda/issues/5033 - # for details). - # This has been fixed in mewer conda versions - # (>=4.3.17), but the current 'latest' installer is still 4.3.14, so we need to specify the - # previous version. This should change in future once an installer for - # >=4.3.17 is released! - - 'if [[ ${TOXENV} == "condarecipe" ]]; then wget https://repo.continuum.io/miniconda/Miniconda3-4.3.11-Linux-x86_64.sh -O miniconda.sh; fi' + - 'if [[ ${TOXENV} == "condarecipe" ]]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; fi' - 'if [[ ${TOXENV} == "condarecipe" ]]; then bash miniconda.sh -b -p $HOME/miniconda; fi' - 'if [[ ${TOXENV} == "condarecipe" ]]; then export PATH="$HOME/miniconda/bin:$PATH"; fi' - 'if [[ ${TOXENV} == "condarecipe" ]]; then hash -r; fi' - 'if [[ ${TOXENV} == "condarecipe" ]]; then conda config --set always_yes yes --set changeps1 no; fi' - 'if [[ ${TOXENV} == "condarecipe" ]]; then conda info -a; fi # Useful for debugging any issues with conda' - # update conda, this should skip over the problematic 4.3.14-4.3.16 anyway - - 'if [[ ${TOXENV} == "condarecipe" ]]; then conda update conda; fi' - 'if [[ ${TOXENV} == "condarecipe" ]]; then conda install conda-build; fi' - - 'if [[ ${TOXENV} == "condarecipe" ]]; then conda info -a; fi # Useful for debugging any issues with conda' - 'if [[ ${TOXENV} == "condarecipe" ]]; then conda config --append channels conda-forge; fi # add conda-forge channel at lower priority than defaults' - 'if [[ ${TOXENV} == "condarecipe" ]]; then git fetch --unshallow; fi' install: