forked from coddingtonbear/django-mailbox
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
43 lines (39 loc) · 1 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
[pytest]
log_cli = True
[tox]
# sort by django version, next by python version
envlist=
flake8
py{35,36}-django111
py{35,36}-django20
py{35,36,37}-django21
py{35,36,37}-django22
py{36,37,38}-django30
py{36,37,38}-django31
py{36,37,38}-django32
[testenv]
passenv=EMAIL_IMAP_SERVER EMAIL_IMAP_USE_SSL EMAIL_ACCOUNT EMAIL_PASSWORD EMAIL_SMTP_SERVER EMAIL_SMTP_PORT
deps=
django111: django==1.11.*
django20: django==2.0.*
django21: django==2.0.*
django22: django==2.0.*
django30: django==3.0.*
django31: django==3.1.*
django32: django==3.2.*
-r{toxinidir}/test_requirements.txt
sitepackages=False
commands=
python {toxinidir}/manage.py makemigrations --check --dry-run
python -Wd manage.py test -v2 {posargs}
[testenv:docs]
deps=
sphinx
-r{toxinidir}/rtd_requirements.txt
.
commands=make html clean SPHINXOPTS="-W --keep-going"
changedir={toxinidir}/docs
allowlist_externals=make
[testenv:flake8]
deps=flake8
commands=flake8 django_mailbox