File tree 2 files changed +13
-5
lines changed
2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ matrix:
86
86
- JOB_NAME : " 36"
87
87
- TEST_ARGS="--skip-slow --skip-network"
88
88
- PANDAS_TESTING_MODE="deprecate"
89
+ - CONDA_FORGE=true
89
90
addons :
90
91
apt :
91
92
packages :
Original file line number Diff line number Diff line change @@ -53,12 +53,19 @@ conda config --set ssl_verify false || exit 1
53
53
conda config --set always_yes true --set changeps1 false || exit 1
54
54
conda update -q conda
55
55
56
- # add the pandas channel to take priority
57
- # to add extra packages
58
56
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
62
69
63
70
conda install anaconda-client
64
71
You can’t perform that action at this time.
0 commit comments