Skip to content

Commit

Permalink
CI Adds conda free channel for python 3.5 on circleci (#14508)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjpfan authored and glemaitre committed Jul 30, 2019
1 parent 9a6f05e commit a72f4dc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Expand Up @@ -13,6 +13,7 @@ jobs:
- NUMPY_VERSION: 1.11.0
- SCIPY_VERSION: 0.17.0
- MATPLOTLIB_VERSION: 1.5.1
- CYTHON_VERSION: 0.28.5
- SCIKIT_IMAGE_VERSION: 0.12.3
steps:
- checkout
Expand Down
11 changes: 9 additions & 2 deletions build_tools/circle/build_doc.sh
Expand Up @@ -119,9 +119,16 @@ export CCACHE_COMPRESS=1

# Configure the conda environment and put it in the path using the
# provided versions

# Adds older packages for python 3.5
if [[ "$PYTHON_VERSION" == "3.5" ]]; then
conda config --set restore_free_channel true
fi

conda create -n $CONDA_ENV_NAME --yes --quiet python="${PYTHON_VERSION:-*}" \
numpy="${NUMPY_VERSION:-*}" scipy="${SCIPY_VERSION:-*}" cython \
pytest coverage matplotlib="${MATPLOTLIB_VERSION:-*}" sphinx=2.1.2 pillow \
numpy="${NUMPY_VERSION:-*}" scipy="${SCIPY_VERSION:-*}" \
cython="${CYTHON_VERSION:-*}" pytest coverage \
matplotlib="${MATPLOTLIB_VERSION:-*}" sphinx=2.1.2 pillow \
scikit-image="${SCIKIT_IMAGE_VERSION:-*}" pandas="${PANDAS_VERSION:-*}" \
joblib

Expand Down

0 comments on commit a72f4dc

Please sign in to comment.