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
|
2015-11-14 00:53:35 +03:00
|
|
|
graphql-django-view>=1.0.0
|
|
|
|
graphql-core==0.4.7b2
|
2015-10-21 07:32:15 +03:00
|
|
|
graphql-relay==0.3.3
|
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
|