forked from lincolnloop/django-dynamic-raw-id
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
53 lines (49 loc) · 1.13 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
[tox]
toxworkdir=/tmp/tox/django-dynamic-raw-id
envlist=
readme
begin
py{27}-django-{111}
py{35,36}-django-{111,20,21,22}
py{37}-django-{21,22,30,31}
py{38}-django-{22,30,31}
end
[testenv]
install_command =
pip install {opts} {packages}
setenv =
DJANGO_SETTINGS_MODULE=dynamic_raw_id.tests.testapp.settings
MOZ_HEADLESS=1
extras=
tests
commands=
{envbindir}/django-admin collectstatic --noinput -v0
pytest --pyargs --cov={envsitepackagesdir}/dynamic_raw_id dynamic_raw_id
deps=
# Django versions
django-111: django==1.11.*
django-20: django==2.0.*
django-21: django==2.1.*
django-22: django==2.2.*
django-30: django==3.0.*
django-31: django==3.1.*
[testenv:begin]
basepython = python3.6
skip_install = True
deps = coverage
commands = coverage erase
[testenv:end]
basepython = python3.6
skip_install = True
deps = coverage
commands=
coverage report
coverage html
[testenv:readme]
skip_install = True
deps =
docutils
Pygments
commands =
rst2html.py --report=info --halt=warning README.rst /dev/null
rst2html.py --report=info --halt=warning CHANGELOG.rst /dev/null