Skip to content

Commit

Permalink
conditionally install sparse based on numpy version
Browse files Browse the repository at this point in the history
  • Loading branch information
mrocklin committed Mar 1, 2019
1 parent dbf5941 commit db0a4a7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion continuous_integration/travis/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ conda install -q -c conda-forge \
scikit-image \
scikit-learn \
scipy \
sparse \
sqlalchemy \
toolz

Expand All @@ -75,6 +74,10 @@ if [[ $PYTHONOPTIMIZE != '2' ]] && [[ $NUMPY > '1.11.0' ]] && [[ $NUMPY < '1.14.
pip install --no-deps git+https://github.com/dask/fastparquet
fi

if [[ $NUMPY > '1.13.0' ]]; then
pip install sparse
fi

if [[ $PYTHON == '2.7' ]]; then
pip install --no-deps backports.lzma mock
fi
Expand Down

0 comments on commit db0a4a7

Please sign in to comment.