-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathtox.ini
66 lines (58 loc) · 1.44 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
[tox]
envlist =
clean
py{36,37,38,39}-django2.2
py{36,37,38,39}-django3.0
py{36,37,38,39}-django3.1
py{36,37,38,39,310}-django3.2
py{38,39,310}-django4.0
report
[testenv]
skipsdist=True
usedevelop=True
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH DATABASE_ENGINE DATABASE_NAME DATABASE_USER DATABASE_PASSWORD DATABASE_HOST DATABASE_PORT
setenv =
PYTHONWARNINGS=default
COVERAGE_FILE=.coverage.tox.{envname}
TOXENV={envname}
basepython =
py36: python3.6
py37: python3.7
py38: python3.8
py39: python3.9
py310: python3.10
deps =
django2.2: django>=2.2, <3.0
django3.0: django>=3.0, <3.1
django3.1: django>=3.1, <3.2
django3.2: django>=3.2, <3.3
django4.0: django>=4.0, <4.1
ipdb
django-yaa-settings>=1.1
model_bakery
freezegun
pillow
psycopg2>2.4.1
mysqlclient>=1.3.3
coverage>=4.0
coveralls>=1.0
install_command = pip install {opts} {packages}
commands =
python {envbindir}/coverage run --source='gdpr_assist' setup.py test {posargs:tests}
-coveralls
[testenv:clean]
basepython = python2.7
deps = coverage>=4.0
setenv =
COVERAGE_FILE=.coverage.tox
commands =
-python {envbindir}/coverage combine
-python {envbindir}/coverage erase
[testenv:report]
basepython = python2.7
deps = coverage>=4.0
setenv =
COVERAGE_FILE=.coverage.tox
commands =
-python {envbindir}/coverage combine
-python {envbindir}/coverage html