mirror of
https://github.com/graphql-python/graphene.git
synced 2025-07-27 08:19:45 +03:00
Added shapely and libgeos to travis
This commit is contained in:
parent
8f78f6991d
commit
233b5636e6
|
@ -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
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
import pytest
|
||||
|
||||
pytest.importorskip("shapely")
|
||||
|
||||
from ..geo import Point
|
||||
from ..objecttype import ObjectType
|
||||
from ..schema import Schema
|
||||
|
|
Loading…
Reference in New Issue
Block a user