Travis/tox: drop Python 3.3; shrink Travis matrix

Discontinue support/testing for Python 3.3 with Django 1.8.
Closes #99

Focus Travis testing on currently-supported Django/Python combinations.
(But keep a few older ones in the matrix, too.)
This commit is contained in:
medmunds
2018-05-15 11:08:20 -07:00
parent 3cadaca9dd
commit 0e99bcf42e
2 changed files with 17 additions and 19 deletions

View File

@@ -13,30 +13,14 @@ matrix:
include: include:
- { env: LINT_AND_DOCS=true, python: 3.6 } - { env: LINT_AND_DOCS=true, python: 3.6 }
# Anymail supports the same python versions as Django, excluding Python 3.2, but adding pypy. # Anymail supports the same Python versions as Django, plus PyPy.
# https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django # https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django
# Live API integration tests are only run on a few, representative Python/Django version # Live API integration tests are only run on a few, representative Python/Django version
# combinations, to avoid rapidly consuming the testing accounts' entire send allotments. # combinations, to avoid rapidly consuming the testing accounts' entire send allotments.
# Django 1.8: Python 2.7, 3.3, 3.4, 3.5
- { env: DJANGO=1.8 RUN_LIVE_TESTS=true, python: 2.7 }
- { env: DJANGO=1.8, python: 3.3 }
- { env: DJANGO=1.8, python: 3.4 }
- { env: DJANGO=1.8, python: 3.5 }
- { env: DJANGO=1.8, python: pypy }
# Django 1.9: Python 2.7, 3.4, 3.5
- { env: DJANGO=1.9, python: 2.7 }
- { env: DJANGO=1.9, python: 3.4 }
- { env: DJANGO=1.9, python: 3.5 }
- { env: DJANGO=1.9, python: pypy }
# Django 1.10: Python 2.7, 3.4, 3.5
- { env: DJANGO=1.10, python: 2.7 }
- { env: DJANGO=1.10, python: 3.4 }
- { env: DJANGO=1.10, python: 3.5 }
- { env: DJANGO=1.10, python: pypy }
# Django 1.11: Python 2.7, 3.4, 3.5, or 3.6 # Django 1.11: Python 2.7, 3.4, 3.5, or 3.6
- { env: DJANGO=1.11, python: 2.7 } - { env: DJANGO=1.11 RUN_LIVE_TESTS=true, python: 2.7 }
- { env: DJANGO=1.11, python: 3.4 } - { env: DJANGO=1.11, python: 3.4 }
- { env: DJANGO=1.11, python: 3.5 } - { env: DJANGO=1.11, python: 3.5 }
- { env: DJANGO=1.11, python: 3.6 } - { env: DJANGO=1.11, python: 3.6 }
@@ -52,6 +36,20 @@ matrix:
- { env: DJANGO=master, python: 3.6 } - { env: DJANGO=master, python: 3.6 }
- { env: DJANGO=master, python: 3.7-dev } - { env: DJANGO=master, python: 3.7-dev }
# Obsolete Django versions (no longer supported by Django)
# Anymail tries to support these, but doesn't test every possible combination...
# Django 1.8: Python 2.7, 3.3, 3.4, 3.5
- { env: DJANGO=1.8, python: 2.7 }
- { env: DJANGO=1.8, python: 3.4 }
- { env: DJANGO=1.8, python: 3.5 }
- { env: DJANGO=1.8, python: pypy }
# Django 1.9: Python 2.7, 3.4, 3.5
- { env: DJANGO=1.9, python: 2.7 }
- { env: DJANGO=1.9, python: 3.5 }
# Django 1.10: Python 2.7, 3.4, 3.5
- { env: DJANGO=1.10, python: 2.7 }
- { env: DJANGO=1.10, python: 3.5 }
allow_failures: allow_failures:
- env: DJANGO=2.1 - env: DJANGO=2.1
python: 3.5 python: 3.5

View File

@@ -10,7 +10,7 @@ envlist =
django111-py{27,34,35,36,py2} django111-py{27,34,35,36,py2}
django110-py{27,34,35,py2} django110-py{27,34,35,py2}
django19-py{27,34,35,py2} django19-py{27,34,35,py2}
django18-py{33,34,35,py2} django18-py{34,35,py2}
# ... then prereleases (if available): # ... then prereleases (if available):
#django21-py{35,36} #django21-py{35,36}
djangoMaster-py{36,37} djangoMaster-py{36,37}