-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathtox.ini
33 lines (29 loc) · 846 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
33
[pytest]
addopts=--tb=short
[tox]
envlist =
py{38}-lint
py38-django2
py{38,39}-django{30,31,master}
[testenv]
commands = ./runtests.py --fast {posargs} --coverage -rw
setenv =
PYTHONDONTWRITEBYTECODE=1
PYTHONWARNINGS=once
deps =
django2: Django>=2.0,<3.0
django30: Django>=3.0,<3.1
django31: Django>=3.1,<3.2
djangomaster: https://github.com/django/django/archive/master.tar.gz
-rrequirements/requirements-base.txt
-rrequirements/requirements-testing.txt
basepython =
py38: python3.8
py39: python3.9
[testenv:py38-lint]
commands = ./runtests.py --lintonly
deps =
-rrequirements/requirements-codestyle.txt
-rrequirements/requirements-testing.txt
[testenv:py38-djangomaster]
commands = - ./runtests.py --fast {posargs} --coverage -rw