forked from jazzband/django-constance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
28 lines (27 loc) · 756 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
[tox]
envlist =
py{35,36,37,pypy3}-django{22}-unittest
py{36,37,38}-django{30,-master}-unittest
py{36,37,38,pypy3}-django{22,30,-master}-pytest
[testenv]
deps =
redis
coverage
mock
django-picklefield
django-22: Django>=2.2,<3.0
django-30: Django>=3.0,<3.1
django-master: https://github.com/django/django/archive/master.tar.gz
pytest: pytest
pytest: pytest-cov
pytest: pytest-django
usedevelop = True
ignore_outcome =
django-master: True
commands =
unittest: coverage run {envbindir}/django-admin test -v2
unittest: coverage report
pytest: pytest --cov=. --ignore=.tox --disable-pytest-warnings {toxinidir}
setenv =
PYTHONDONTWRITEBYTECODE=1
DJANGO_SETTINGS_MODULE=tests.settings