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)
This commit is contained in:
Mike Edmunds
2016-06-22 15:08:45 -07:00
committed by GitHub
parent 731670427c
commit 56de75ef6b

View File

@@ -2,18 +2,24 @@ sudo: false
language: python language: python
matrix: matrix:
include: include:
# Django 1.8: "Python 2.7 or above" # Anymail supports the same python versions as Django, excluding Python 3.2, but adding pypy.
# https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django
# Django 1.8: Python 2.7, 3.2 (until the end of 2016), 3.3, 3.4, 3.5
- { env: DJANGO=django==1.8, python: 2.7 } - { env: DJANGO=django==1.8, python: 2.7 }
- { env: DJANGO=django==1.8, python: 3.3 }
- { env: DJANGO=django==1.8, python: 3.4 } - { env: DJANGO=django==1.8, python: 3.4 }
- { env: DJANGO=django==1.8, python: 3.5 }
- { env: DJANGO=django==1.8, python: pypy } - { env: DJANGO=django==1.8, python: pypy }
# Django 1.9: "Python 2.7, 3.4, or 3.5" # Django 1.9: Python 2.7, 3.4, 3.5
- { env: DJANGO=django==1.9, python: 2.7 } - { env: DJANGO=django==1.9, python: 2.7 }
- { env: DJANGO=django==1.9, python: 3.4 } - { env: DJANGO=django==1.9, python: 3.4 }
- { env: DJANGO=django==1.9, python: 3.5 } - { env: DJANGO=django==1.9, python: 3.5 }
- { env: DJANGO=django==1.9, python: pypy } - { env: DJANGO=django==1.9, python: pypy }
# Django 1.10 (prerelease) # Django 1.10 (prerelease): Python 2.7, 3.4, 3.5
- { env: DJANGO="--pre django", python: 2.7 } - { env: DJANGO="--pre django", python: 2.7 }
- { env: DJANGO="--pre django", python: 3.4 }
- { env: DJANGO="--pre django", python: 3.5 } - { env: DJANGO="--pre django", python: 3.5 }
- { env: DJANGO="--pre django", python: pypy }
cache: cache:
directories: directories:
- $HOME/.cache/pip - $HOME/.cache/pip