forked from dfunckt/django-rules
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
32 lines (29 loc) · 743 Bytes
/
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
[tox]
envlist =
py{37,38,39,310}-django{22,32},
py{38,39,310}-django40,
packaging,
[testenv]
usedevelop = true
deps =
coverage
djangorestframework
django22: Django~=2.2
django32: Django~=3.2
django40: Django~=4.0
commands =
py{37,38,39,310},pypy3: coverage run tests/manage.py test testsuite {posargs: -v 2}
py{37,38,39,310},pypy3: coverage report -m
[testenv:packaging]
usedevelop = false
deps =
django
djangorestframework
commands =
{envpython} tests/manage.py test testsuite {posargs: -v 2}
[testenv:djangomain]
deps =
https://github.com/django/django/archive/main.tar.gz#egg=django
djangorestframework
commands =
{envpython} tests/manage.py test testsuite {posargs: -v 2}