Skip to content

Commit 2c07d7d

Browse files
committed
Don’t exit setup script early
1 parent 01c5abd commit 2c07d7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.continuous-integration/travis/setup_dependencies_common.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ conda install --yes pytest Cython jinja2 psutil
2424
if [[ $NUMPY_VERSION == dev ]]
2525
then
2626
pip install git+http://github.com/numpy/numpy.git
27-
exit # exit to make sure we don't end up accidentally install numpy with conda
27+
export CONDA_INSTALL="conda install --yes python=$PYTHON_VERSION"
2828
else
2929
conda install --yes numpy=$NUMPY_VERSION
30+
export CONDA_INSTALL="conda install --yes python=$PYTHON_VERSION numpy=$NUMPY_VERSION"
3031
fi
3132

3233
# Now set up shortcut to conda install command to make sure the Python and Numpy
3334
# versions are always explicitly specified.
34-
export CONDA_INSTALL="conda install --yes python=$PYTHON_VERSION numpy=$NUMPY_VERSION"
3535

3636
# OPTIONAL DEPENDENCIES
3737
if $OPTIONAL_DEPS

0 commit comments

Comments
 (0)