2015-09-24 12:11:50 +03:00
|
|
|
[tox]
|
2018-05-22 20:56:58 +03:00
|
|
|
envlist = flake8,py27,py33,py34,py35,py36,pre-commit,pypy
|
2015-10-31 23:46:43 +03:00
|
|
|
skipsdist = true
|
2015-09-24 12:11:50 +03:00
|
|
|
|
|
|
|
[testenv]
|
2018-05-28 23:25:15 +03:00
|
|
|
deps = .[test]
|
2015-10-11 03:50:41 +03:00
|
|
|
setenv =
|
|
|
|
PYTHONPATH = .:{envdir}
|
2015-09-24 12:11:50 +03:00
|
|
|
commands=
|
2018-05-30 14:53:44 +03:00
|
|
|
py.test --cov=graphene graphene examples
|
2015-10-31 23:46:43 +03:00
|
|
|
|
2018-05-22 20:56:58 +03:00
|
|
|
[testenv:pre-commit]
|
|
|
|
basepython=python3.6
|
|
|
|
deps =
|
|
|
|
pre-commit>0.12.0
|
|
|
|
setenv =
|
|
|
|
LC_CTYPE=en_US.UTF-8
|
|
|
|
commands =
|
|
|
|
pre-commit {posargs:run --all-files}
|
|
|
|
|
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]
|