mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-27 06:46:56 -05:00
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)
32 lines
1.2 KiB
YAML
32 lines
1.2 KiB
YAML
sudo: false
|
|
language: python
|
|
matrix:
|
|
include:
|
|
# 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: 3.3 }
|
|
- { env: DJANGO=django==1.8, python: 3.4 }
|
|
- { env: DJANGO=django==1.8, python: 3.5 }
|
|
- { env: DJANGO=django==1.8, python: pypy }
|
|
# Django 1.9: Python 2.7, 3.4, 3.5
|
|
- { env: DJANGO=django==1.9, python: 2.7 }
|
|
- { env: DJANGO=django==1.9, python: 3.4 }
|
|
- { env: DJANGO=django==1.9, python: 3.5 }
|
|
- { env: DJANGO=django==1.9, python: pypy }
|
|
# Django 1.10 (prerelease): Python 2.7, 3.4, 3.5
|
|
- { 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: pypy }
|
|
cache:
|
|
directories:
|
|
- $HOME/.cache/pip
|
|
install:
|
|
- pip install --upgrade setuptools pip
|
|
- pip install $DJANGO
|
|
- pip install .
|
|
- pip list
|
|
script: python setup.py test
|