Merge pull request #1275 from blink1073/use-wheelhouse-simpleitk

Do not try and install SimpleITK on Py3.2 or 3.4
This commit is contained in:
Stefan van der Walt
2014-12-13 16:39:33 +02:00
+6 -2
View File
@@ -33,8 +33,12 @@ if [[ $TRAVIS_PYTHON_VERSION != 3.2 ]]; then
pip install -q imread
fi
# Install SimpleITK from wheelhouse if available
pip install -q SimpleITK $WHEELHOUSE; true
# Install SimpleITK from wheelhouse if available (not 3.2 or 3.4)
if [[ $TRAVIS_PYTHON_VERSION =~ 3\.[24] ]]; then
echo "SimpleITK unavailable on $TRAVIS_PYTHON_VERSION"
else
pip install -q SimpleITK $WHEELHOUSE
fi
sudo apt-get install -q libfreeimage3
pip install -q astropy $WHEELHOUSE