Update tests, CI, readme for Django 2.2 release.

(Earlier Anymail releases work fine with Django 2.2, and have been
tested against it; this just makes everything official.)

Prefer Python 3.7 and Django 2.2 for "extra" tests (live integration,
optional packages, Django master).
This commit is contained in:
medmunds
2019-05-08 13:29:56 -07:00
parent ebb6b041e7
commit 44518ed69f
3 changed files with 15 additions and 16 deletions

10
tox.ini
View File

@@ -3,25 +3,25 @@ envlist =
# Factors: django-python-extras
# Test these environments first, to catch most errors early...
lint
django21-py36-all
django22-py37-all
django111-py27-all
docs
# ... then test all the other supported combinations:
django21-py{35,37,py3}-all
django22-py{35,36,py3}-all
django21-py{35,36,37,py3}-all
django20-py{35,36,py3}-all
django111-py{34,35,36,py}-all
# ... then prereleases (if available):
django22-py{35,36,37,py3}-all
djangoMaster-py{36,37}-all
# ... then partial installation (limit extras):
django21-py37-{none,amazon_ses,sparkpost}
django22-py37-{none,amazon_ses,sparkpost}
[testenv]
deps =
django111: django~=1.11.0
django20: django~=2.0.0
django21: django~=2.1.0
django22: django>=2.2a1
django22: django~=2.2.0
djangoMaster: https://github.com/django/django/tarball/master
# testing dependencies (duplicates setup.py tests_require, less optional extras):
mock