Skip to content

Commit dca1cd6

Browse files
committed
BLD: make 3.6 use *only* conda-forge channels
1 parent e0b37f9 commit dca1cd6

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ matrix:
8686
- JOB_NAME: "36"
8787
- TEST_ARGS="--skip-slow --skip-network"
8888
- PANDAS_TESTING_MODE="deprecate"
89+
- CONDA_FORGE=true
8990
addons:
9091
apt:
9192
packages:

ci/install_travis.sh

+12-5
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,19 @@ conda config --set ssl_verify false || exit 1
5353
conda config --set always_yes true --set changeps1 false || exit 1
5454
conda update -q conda
5555

56-
# add the pandas channel to take priority
57-
# to add extra packages
5856
echo "[add channels]"
59-
conda config --add channels pandas || exit 1
60-
conda config --remove channels defaults || exit 1
61-
conda config --add channels defaults || exit 1
57+
if [ "$CONDA_FORGE" ]; then
58+
# use only the conda-forge channels
59+
conda config --add channels pandas || exit 1
60+
conda config --remove channels defaults || exit 1
61+
conda config --add channels conda-forge || exit 1
62+
else
63+
# add the pandas channel to take priority
64+
# to add extra packages
65+
conda config --add channels pandas || exit 1
66+
conda config --remove channels defaults || exit 1
67+
conda config --add channels defaults || exit 1
68+
fi
6269

6370
conda install anaconda-client
6471

0 commit comments

Comments
 (0)