Tox: update Django 2.1 tests to allow released version only

(and don't allow failures on Django 2.1 tests)
This commit is contained in:
medmunds
2018-08-14 12:11:11 -07:00
parent 9e7814ad65
commit 0520ee3d70

11
tox.ini
View File

@@ -2,28 +2,30 @@
envlist = envlist =
# Test these environments first, to catch most errors early... # Test these environments first, to catch most errors early...
lint lint
django20-py36 django21-py36
django111-py27 django111-py27
docs docs
# ... then test all the other supported combinations: # ... then test all the other supported combinations:
django21-py{35,37,py3}
django20-py{35,py3} django20-py{35,py3}
django111-py{34,35,36,py2} django111-py{34,35,36,py2}
# ... then prereleases (if available): # ... then prereleases (if available):
django21-py{35,36,37} # django22-py{35,36,37}
djangoMaster-py{36,37} djangoMaster-py{36,37}
[testenv] [testenv]
deps = deps =
django111: django~=1.11.0 django111: django~=1.11.0
django20: django~=2.0.0 django20: django~=2.0.0
django21: django>=2.1a1 django21: django~=2.1.0
django22: django>=2.2a1
djangoMaster: https://github.com/django/django/tarball/master djangoMaster: https://github.com/django/django/tarball/master
# testing dependencies (duplicates setup.py tests_require): # testing dependencies (duplicates setup.py tests_require):
mock mock
boto3 boto3
sparkpost sparkpost
ignore_outcome = ignore_outcome =
django21: True django22: True
djangoMaster: True djangoMaster: True
usedevelop = True usedevelop = True
args_are_paths = False args_are_paths = False
@@ -88,6 +90,7 @@ DJANGO =
1.11: django111 1.11: django111
2.0: django20 2.0: django20
2.1: django21 2.1: django21
2.2: django22
master: djangoMaster master: djangoMaster
LINT_AND_DOCS = LINT_AND_DOCS =
true: lint, docs true: lint, docs