mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-26 14:26:56 -05:00
* Test on Python 2.7, 3.4, pypy. * Call super.setUpClass in DjrillAdminTests. https://docs.djangoproject.com/en/dev/releases/1.8/#overriding-setupclass-teardownclass-in-test-cases Also clear up some new PendingDeprecationWarnings, where the changes can easily remain compatible back to Django 1.3: * Remove deprecated django.conf.urls.patterns. (And match Django recommendations in our docs.) https://docs.djangoproject.com/en/dev/releases/1.8/#django-conf-urls-patterns * Remove deprecated SimpleTestCase.urls. (We've already back-ported @override_settings for testing older Django versions.) https://docs.djangoproject.com/en/dev/releases/1.8/#django-test-simpletestcase-urls
52 lines
1.5 KiB
YAML
52 lines
1.5 KiB
YAML
language: python
|
|
matrix:
|
|
include:
|
|
# Django 1.3: Python 2.6--2.7
|
|
- python: "2.6"
|
|
env: DJANGO=django==1.3
|
|
- python: "2.7"
|
|
env: DJANGO=django==1.3
|
|
# Django 1.4: Python 2.6--2.7
|
|
- python: "2.6"
|
|
env: DJANGO=django==1.4
|
|
- python: "2.7"
|
|
env: DJANGO=django==1.4
|
|
# Django 1.5: Python 2.7, pypy
|
|
# (As of Django 1.5, Python 2.6 no longer "highly recommended",
|
|
# and Python 3.2+ support was only "experimental", so skip those.)
|
|
- python: "2.7"
|
|
env: DJANGO=django==1.5
|
|
- python: "pypy"
|
|
env: DJANGO=django==1.5
|
|
# Django 1.6: Python 2.7--3.3, pypy
|
|
- python: "2.7"
|
|
env: DJANGO=django==1.6
|
|
- python: "3.2"
|
|
env: DJANGO=django==1.6
|
|
- python: "3.3"
|
|
env: DJANGO=django==1.6
|
|
- python: "pypy"
|
|
env: DJANGO=django==1.6
|
|
# Django 1.7: Python 2.7--3.4, pypy
|
|
- python: "2.7"
|
|
env: DJANGO=django==1.7
|
|
- python: "3.2"
|
|
env: DJANGO=django==1.7
|
|
- python: "3.3"
|
|
env: DJANGO=django==1.7
|
|
- python: "3.4"
|
|
env: DJANGO=django==1.7
|
|
- python: "pypy"
|
|
env: DJANGO=django==1.7
|
|
# Django 1.8alpha: "Python 2.7 or above"
|
|
- python: "2.7"
|
|
env: DJANGO=https://www.djangoproject.com/download/1.8a1/tarball/
|
|
- python: "3.4"
|
|
env: DJANGO=https://www.djangoproject.com/download/1.8a1/tarball/
|
|
- python: "pypy"
|
|
env: DJANGO=https://www.djangoproject.com/download/1.8a1/tarball/
|
|
install:
|
|
- pip install -q $DJANGO
|
|
- pip install .
|
|
script: python -Wall setup.py test
|