Added shapely and libgeos to travis

This commit is contained in:
Syrus Akbary 2017-01-14 23:09:41 -08:00
parent 8f78f6991d
commit 233b5636e6
2 changed files with 4 additions and 1 deletions

View File

@ -19,10 +19,11 @@ before_install:
virtualenv --python="$PYENV_ROOT/versions/pypy-$PYPY_VERSION/bin/python" "$HOME/virtualenvs/pypy-$PYPY_VERSION"
source "$HOME/virtualenvs/pypy-$PYPY_VERSION/bin/activate"
fi
sudo apt-get install -q libgeos-dev libgeos
install:
- |
if [ "$TEST_TYPE" = build ]; then
pip install pytest pytest-cov pytest-benchmark coveralls six pytz iso8601
pip install pytest pytest-cov pytest-benchmark coveralls six pytz iso8601 shapely
pip install -e .
python setup.py develop
elif [ "$TEST_TYPE" = lint ]; then

View File

@ -1,5 +1,7 @@
import pytest
pytest.importorskip("shapely")
from ..geo import Point
from ..objecttype import ObjectType
from ..schema import Schema