2015-09-24 12:11:50 +03:00
|
|
|
[tox]
|
2015-10-31 23:46:43 +03:00
|
|
|
envlist = flake8,py27,py33,py34,py35,pypy
|
|
|
|
skipsdist = true
|
2015-09-24 12:11:50 +03:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
deps=
|
|
|
|
pytest>=2.7.2
|
|
|
|
django>=1.8.0,<1.9
|
2015-09-30 09:40:40 +03:00
|
|
|
pytest-django
|
2016-05-12 08:54:29 +03:00
|
|
|
graphql-django-view==1.3b1
|
2016-05-12 10:32:05 +03:00
|
|
|
graphql-core>=0.5.0
|
|
|
|
graphql-relay>=0.4.1
|
2015-09-26 02:35:17 +03:00
|
|
|
six
|
|
|
|
blinker
|
2015-09-24 12:11:50 +03:00
|
|
|
singledispatch
|
2015-11-14 01:15:42 +03:00
|
|
|
mock
|
2015-10-11 03:50:41 +03:00
|
|
|
setenv =
|
|
|
|
PYTHONPATH = .:{envdir}
|
2015-09-24 12:11:50 +03:00
|
|
|
commands=
|
2015-11-14 01:15:42 +03:00
|
|
|
py.test
|
2015-10-31 23:46:43 +03:00
|
|
|
|
|
|
|
[testenv:flake8]
|
|
|
|
deps = flake8
|
|
|
|
commands =
|
|
|
|
pip install -e .
|
|
|
|
flake8 graphene
|
2015-09-30 09:40:40 +03:00
|
|
|
|
|
|
|
[pytest]
|
|
|
|
DJANGO_SETTINGS_MODULE = tests.django_settings
|