Skip to content

Commit 6a6b864

Browse files
author
y-p
committed
BLD: Travis - only install numpy when we have to, and use 1.7rc1 for 3.3
1 parent 3c0d3f1 commit 6a6b864

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

ci/install.sh

+3-5
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@ if [ ${TRAVIS_PYTHON_VERSION} == "3.2" ]; then
1818
fi
1919

2020
# or else, get it with pip and compile it
21-
if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ] || \
22-
[ ${TRAVIS_PYTHON_VERSION} == "3.1" ] || \
23-
[ ${TRAVIS_PYTHON_VERSION} == "3.2" ]; then
21+
if [ ${TRAVIS_PYTHON_VERSION} == "2.6" ]; then
2422
pip $PIP_ARGS install numpy;
25-
else
26-
pip $PIP_ARGS install https://github.com/numpy/numpy/archive/v1.7.0b2.tar.gz;
23+
elif [ ${TRAVIS_PYTHON_VERSION} == "3.3" ]; then # should be >=3,3
24+
pip $PIP_ARGS install https://github.com/numpy/numpy/archive/v1.7.0rc1.tar.gz;
2725
fi
2826

2927
# Optional Deps

0 commit comments

Comments
 (0)