Skip to content

Commit

Permalink
BLD: revert to using an always current conda
Browse files Browse the repository at this point in the history
closes #13444

BLD: have a correct channel priorty
  • Loading branch information
jreback committed Jun 17, 2016
1 parent 6d8c04c commit b06bc7a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
10 changes: 7 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,15 @@ install:

# install our build environment
- cmd: conda config --set show_channel_urls true --set always_yes true --set changeps1 false
#- cmd: conda update -q conda
- cmd: conda install conda==4.0.8
- cmd: conda config --add channels http://conda.anaconda.org/pandas
- cmd: conda update -q conda
- cmd: conda config --set ssl_verify false

# add the pandas channel *before* defaults to have defaults take priority
- cmd: conda config --add channels pandas
- cmd: conda config --remove channels defaults
- cmd: conda config --add channels defaults
- cmd: conda install anaconda-client

# this is now the downloaded conda...
- cmd: conda info -a

Expand Down
17 changes: 12 additions & 5 deletions ci/install_travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,19 +68,26 @@ python_major_version="${TRAVIS_PYTHON_VERSION:0:1}"
[ "$python_major_version" == "2" ] && python_major_version=""

# install miniconda
echo "install miniconda"
if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
wget http://repo.continuum.io/miniconda/Miniconda-latest-MacOSX-x86_64.sh -O miniconda.sh || exit 1
else
wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh || exit 1
fi
bash miniconda.sh -b -p $HOME/miniconda || exit 1

conda config --set always_yes yes --set changeps1 no || exit 1

# fix the conda version
conda install conda==4.0.8
conda config --add channels http://conda.anaconda.org/pandas || exit 1
echo "update conda"
conda config --set ssl_verify false || exit 1
conda config --set always_yes true --set changeps1 false || exit 1
conda update -q conda

# add the pandas channel *before* defaults to have defaults take priority
echo "add channels"
conda config --add channels pandas || exit 1
conda config --remove channels defaults || exit 1
conda config --add channels defaults || exit 1

conda install anaconda-client

# Useful for debugging any issues with conda
conda info -a || exit 1
Expand Down

0 comments on commit b06bc7a

Please sign in to comment.