forked from eamigo86/graphene-django-extras
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
85 lines (75 loc) · 1.94 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[tox]
isolated_build = true
envlist =
{py36, py37}-django20,
{py36, py37}-django21,
{py36, py37}-django22,
quality
[travis:env]
DJANGO =
2.0: django20
2.1: django21
2.2: django22
[testenv]
whitelist_externals = poetry
skip_install = true
commands =
poetry install -vvv
poetry run pytest tests/ --cov=graphene_django_extras
[testenv:py36-django20]
whitelist_externals = poetry
skip_install = true
commands =
poetry update --lock
poetry install -vvv
poetry run pip install 'django~=2.0'
poetry run pytest tests/ --cov=graphene_django_extras
[testenv:py36-django21]
whitelist_externals = poetry
skip_install = true
commands =
poetry update --lock
poetry install -vvv
poetry run pip install 'django~=2.1'
poetry run pytest tests/ --cov=graphene_django_extras
[testenv:py36-django22]
whitelist_externals = poetry
skip_install = true
commands =
poetry update --lock
poetry install -vvv
poetry run pip install 'django~=2.2'
poetry run pytest tests/ --cov=graphene_django_extras
[testenv:py37-django20]
whitelist_externals = poetry
skip_install = true
commands =
poetry update --lock
poetry install -vvv
poetry run pip install 'django~=2.0'
poetry run pytest tests/ --cov=graphene_django_extras
[testenv:py37-django21]
whitelist_externals = poetry
skip_install = true
commands =
poetry update --lock
poetry install -vvv
poetry run pip install 'django~=2.1'
poetry run pytest tests/ --cov=graphene_django_extras
[testenv:py37-django22]
whitelist_externals = poetry
skip_install = true
commands =
poetry update --lock
poetry install -vvv
poetry run pip install 'django~=2.2'
poetry run pytest tests/ --cov=graphene_django_extras
[testenv:quality]
whitelist_externals = poetry
skip_install = true
commands =
poetry update --lock
poetry install -vvv
poetry run black --check .
poetry run flake8 .
poetry run bandit .