Merge pull request #1377 from blink1073/test-against-pil

Test against PIL on Python 2.7 Travis
This commit is contained in:
Stefan van der Walt
2015-02-17 10:47:43 -08:00
+2 -1
View File
@@ -32,9 +32,10 @@ retry () {
# and the minimum version of cython and networkx
if [[ $TRAVIS_PYTHON_VERSION == 2.7* ]]; then
virtualenv --system-site-packages ~/venv
sudo apt-get install python-scipy python-matplotlib
sudo apt-get install python-scipy python-matplotlib python-imaging
sed -i 's/cython>=/cython==/g' requirements.txt
sed -i 's/networkx>=/networkx==/g' requirements.txt
sed -i '/pillow/d' requirements.txt
else
virtualenv -p python --system-site-packages ~/venv
fi