Skip to content

Commit ee8a9bf

Browse files
committed
fix conda-build install
1 parent a71a655 commit ee8a9bf

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

ci/install_travis.sh

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@ conda config --set ssl_verify false || exit 1
5050
conda config --set quiet true --set always_yes true --set changeps1 false || exit 1
5151
conda update -q conda
5252

53+
if [ "$CONDA_BUILD_TEST" ]; then
54+
echo
55+
echo "[installing conda-build]"
56+
conda install conda-build
57+
fi
58+
59+
5360
echo
5461
echo "[add channels]"
5562
conda config --remove channels defaults || exit 1
@@ -173,9 +180,6 @@ if [ "$PIP_BUILD_TEST" ]; then
173180

174181
elif [ "$CONDA_BUILD_TEST" ]; then
175182

176-
echo "[installing conda-build]"
177-
conda install conda-build
178-
179183
# build & install testing
180184
echo "[building conda recipe]"
181185
conda build ./conda.recipe --numpy 1.13 --python 3.5 -q

0 commit comments

Comments
 (0)