Use newer conda version for recipe build test

Now that the latest version doesn't have the previously-encountered bug
This commit is contained in:
Josh Barnes
2017-08-31 23:33:22 +01:00
parent 646fa6eb82
commit d5ec02c2e6
+1 -12
View File
@@ -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: