mirror of
https://github.com/wassname/jupyter_contrib_nbextensions.git
synced 2026-06-26 16:00:43 +08:00
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:
+1
-12
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user