forked from eamigo86/graphene-django-extras
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
112 lines (99 loc) · 2.59 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[tox]
isolated_build = true
envlist = py{36,37,38,39}-django{22,30}, quality, security, build
[travis:env]
DJANGO =
2.2: django22
3.0: django30
[testenv]
whitelist_externals = poetry
skip_install = true
commands =
poetry install -vvv
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-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:py38-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:py39-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:py36-django30]
whitelist_externals = poetry
skip_install = true
commands =
poetry update --lock
poetry install -vvv
poetry run pip install 'django~=3.0'
poetry run pytest tests/ --cov=graphene_django_extras
[testenv:py37-django30]
whitelist_externals = poetry
skip_install = true
commands =
poetry update --lock
poetry install -vvv
poetry run pip install 'django~=3.0'
poetry run pytest tests/ --cov=graphene_django_extras
[testenv:py38-django30]
whitelist_externals = poetry
skip_install = true
commands =
poetry update --lock
poetry install -vvv
poetry run pip install 'django~=3.0'
poetry run pytest tests/ --cov=graphene_django_extras
[testenv:py39-django30]
whitelist_externals = poetry
skip_install = true
commands =
poetry update --lock
poetry install -vvv
poetry run pip install 'django~=3.0'
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 .
[testenv:security]
whitelist_externals = poetry
skip_install = true
commands =
poetry update --lock
poetry install -vvv
poetry run bandit .
[testenv:build]
whitelist_externals = poetry
skip_install = true
commands =
poetry update --lock
poetry install -vvv
poetry build