-
Notifications
You must be signed in to change notification settings - Fork 13
/
tox.ini
58 lines (52 loc) · 1.25 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
# Django version: Supported python versions
#
# 2.2: 3.7, 3.8, 3.9, 3.10
# 3.2: 3.7, 3.8, 3.9, 3.10
# 4.0: 3.7, 3.8, 3.9, 3.10
[tox]
envlist =
py37-{2.2,3.2,4.0}.X,
py38-{2.2,3.2,4.0}.X,
py39-{2.2,3.2,4.0}.X,
py310-{2.2,3.2,4.0}.X,
py310-coverage,
docs,
qunit
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
[testenv]
passenv = TRAVIS DISPLAY
deps =
2.2.X: Django>=2.2,<3.0
3.2.X: Django>=3.2,<4.0
4.0.X: Django<4.1
Jinja2
selenium
whitelist_externals = make
commands = make fetch-static-libs build-css build-js
{envpython} runtests.py
[testenv:py310-coverage]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH DISPLAY
whitelist_externals = make
commands = make fetch-static-libs build-css build-js
coverage run runtests.py
coverage report -m --fail-under 80
deps = coverage>=4
Django>=3.2,<4.1
Jinja2
selenium
[testenv:docs]
basepython = python3.10
deps = Sphinx==4.3.0
caktus-sphinx-theme==0.1.0
commands = {envbindir}/sphinx-build -a -n -b html -d docs/_build/doctrees docs docs/_build/html
[testenv:qunit]
basepython = python3.10
skip_install = true
deps =
whitelist_externals = make
commands = make fetch-static-libs build-js test-js