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

Modernize syntax, drop Python<3, drop Django<1.11

This commit is contained in:
Adam Dobrawy 2019-11-09 14:57:35 +01:00
parent d114008645
commit 84c99afa03
42 changed files with 176 additions and 330 deletions

17
tox.ini
View file

@ -2,10 +2,10 @@
# sort by django version, next by python version
envlist=
flake8
py{27,34}-django17
py{34}-django17
py{34,35}-django18
py{27,34,35}-django19
py{27,34,35}-django110
py{34,35}-django19
py{34,35}-django110
py{27,34,35,36}-django111
py{34,35,36}-django20
py{35,36,37}-django21
@ -14,23 +14,14 @@ envlist=
[testenv]
passenv=EMAIL_IMAP_SERVER EMAIL_ACCOUNT EMAIL_PASSWORD EMAIL_SMTP_SERVER
deps=
django17: django==1.7.*
django18: django==1.8.*
django19: django==1.9.*
django110: django==1.10.*
django111: django==1.11.*
django20: django==2.0.*
django21: django==2.0.*
django22: django==2.0.*
-r{toxinidir}/test_requirements.txt
sitepackages=False
commands=
django110: python {toxinidir}/manage.py makemigrations --check --dry-run
django111: python {toxinidir}/manage.py makemigrations --check --dry-run
django20: python {toxinidir}/manage.py makemigrations --check --dry-run
django21: python {toxinidir}/manage.py makemigrations --check --dry-run
django22: python {toxinidir}/manage.py makemigrations --check --dry-run
python {toxinidir}/manage.py makemigrations --check --dry-run
python manage.py test -v2 {posargs}
[testenv:flake8]