Skip to content

Commit 56de75e

Browse files
authored
Travis: Update python versions
Match supported python versions to Django docs * Also include pypy * But exclude Python 3.2 (only works with Django 1.8 through end of 2016; pip has already dropped support; over-complicates maintaining Python 2.7 support)
1 parent 7316704 commit 56de75e

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.travis.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,24 @@ sudo: false
22
language: python
33
matrix:
44
include:
5-
# Django 1.8: "Python 2.7 or above"
5+
# Anymail supports the same python versions as Django, excluding Python 3.2, but adding pypy.
6+
# https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django
7+
# Django 1.8: Python 2.7, 3.2 (until the end of 2016), 3.3, 3.4, 3.5
68
- { env: DJANGO=django==1.8, python: 2.7 }
9+
- { env: DJANGO=django==1.8, python: 3.3 }
710
- { env: DJANGO=django==1.8, python: 3.4 }
11+
- { env: DJANGO=django==1.8, python: 3.5 }
812
- { env: DJANGO=django==1.8, python: pypy }
9-
# Django 1.9: "Python 2.7, 3.4, or 3.5"
13+
# Django 1.9: Python 2.7, 3.4, 3.5
1014
- { env: DJANGO=django==1.9, python: 2.7 }
1115
- { env: DJANGO=django==1.9, python: 3.4 }
1216
- { env: DJANGO=django==1.9, python: 3.5 }
1317
- { env: DJANGO=django==1.9, python: pypy }
14-
# Django 1.10 (prerelease)
18+
# Django 1.10 (prerelease): Python 2.7, 3.4, 3.5
1519
- { env: DJANGO="--pre django", python: 2.7 }
20+
- { env: DJANGO="--pre django", python: 3.4 }
1621
- { env: DJANGO="--pre django", python: 3.5 }
22+
- { env: DJANGO="--pre django", python: pypy }
1723
cache:
1824
directories:
1925
- $HOME/.cache/pip

0 commit comments

Comments
 (0)