1
0
Fork 1
mirror of https://github.com/coddingtonbear/django-mailbox.git synced 2026-07-09 22:38:19 +02:00
django-mailbox/tox.ini

37 lines
856 B
INI
Raw Permalink Normal View History

2016-05-14 22:42:55 -07:00
[tox]
2018-03-09 19:09:06 +01:00
# 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
2016-05-14 22:42:55 -07:00
[testenv]
2018-04-21 07:36:40 +02:00
passenv=EMAIL_IMAP_SERVER EMAIL_ACCOUNT EMAIL_PASSWORD EMAIL_SMTP_SERVER
2016-05-14 23:32:12 -07:00
deps=
django111: django==1.11.*
django20: django==2.0.*
django21: django==2.0.*
django22: django==2.0.*
django30: django==3.0b1
2016-05-14 23:32:12 -07:00
-r{toxinidir}/test_requirements.txt
sitepackages=False
2016-05-14 22:42:55 -07:00
commands=
python {toxinidir}/manage.py makemigrations --check --dry-run
python -Wd manage.py test -v2 {posargs}
2017-05-10 00:07:05 +02:00
[testenv:docs]
deps=
sphinx
-r{toxinidir}/rtd_requirements.txt
.
commands=make html clean SPHINXOPTS="-W --keep-going"
changedir={toxinidir}/docs
allowlist_externals=make
2017-05-10 00:07:05 +02:00
[testenv:flake8]
deps=flake8
commands=flake8 django_mailbox