From ed9535611d6a8eeed39ac3042246d7fab1ad62e5 Mon Sep 17 00:00:00 2001 From: Matthew Perry Date: Tue, 28 Jul 2015 11:26:39 -0400 Subject: [PATCH] travis: enforce gdal less than 2.0 for the sake of fiona --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3064595..daca983 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,7 +34,7 @@ env: fi install: # See https://gist.github.com/sgillies/f7bfff349a676cffb1ef - - conda create --yes -n env_name -c PinguCarsti python=$TRAVIS_PYTHON_VERSION pip cython numpy matplotlib pandas gdal gdal-data scipy + - conda create --yes -n env_name -c PinguCarsti python=$TRAVIS_PYTHON_VERSION pip cython numpy matplotlib pandas "gdal<2.0" gdal-data scipy - source activate env_name - GDAL_CONFIG=`which gdal-config` pip install rasterio - if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then conda install --yes imaging; else pip install pillow; fi @@ -44,4 +44,4 @@ install: - "pip install -r requirements_dev.txt" script: "coverage run --include *rasterstats* setup.py test" after_success: - - coveralls \ No newline at end of file + - coveralls