File: tox.ini

package info (click to toggle)
python-django-mptt 0.18-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,180 kB
  • sloc: python: 5,135; javascript: 360; makefile: 132; sh: 12
file content (32 lines) | stat: -rw-r--r-- 671 bytes parent folder | download
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
[tox]
envlist =
    py{39,310,311,312}-dj42
    py{310,311,312}-dj50
    py{310,311,312,313}-dj{51,52}
    py{312,313}-djmain
    docs

[testenv]
usedevelop = true
extras = tests
commands =
    python -Wd {envbindir}/coverage run tests/manage.py test -v2 --keepdb {posargs:myapp}
    coverage report -m
deps =
    dj42: Django>=4.2,<5.0
    dj50: Django>=5.0,<5.1
    dj51: Django>=5.0,<5.2
    dj52: Django>=5.0,<6.0
    djmain: https://github.com/django/django/archive/main.tar.gz
    model-bakery

[testenv:docs]
deps =
    Sphinx
    sphinx-rtd-theme
    Django
    django-js-asset
changedir = docs
commands = make html
skip_install = true
allowlist_externals = make