Test Django 1.10

Also includes:
* Change AnymailTestMixin.assertDoesNotWarn
  to filter specific warning classes.
* Look specifically for AnymailInsecureWebhookWarning
  in WebhookBasicAuthTestsMixin.test_warns_if_no_auth
  (because we don't care *in that test case* about
  DeprecatedInDjango10 warnings).
This commit is contained in:
medmunds
2016-05-29 17:34:51 -07:00
parent 995617a130
commit 296f6cab50
4 changed files with 12 additions and 19 deletions

View File

@@ -2,20 +2,6 @@ sudo: false
language: python
matrix:
include:
## Django 1.4: Python 2.6--2.7 (but Anymail doesn't support 2.6)
#- { env: DJANGO=django==1.4, python: 2.7 }
## Django 1.5: Python 2.7, pypy
#- { env: DJANGO=django==1.5, python: 2.7 }
#- { env: DJANGO=django==1.5, python: pypy }
## Django 1.6: Python 2.7--3.3, pypy
#- { env: DJANGO=django==1.6, python: 2.7 }
#- { env: DJANGO=django==1.6, python: 3.3 }
#- { env: DJANGO=django==1.6, python: pypy }
## Django 1.7: Python 2.7--3.4, pypy
#- { env: DJANGO=django==1.7, python: 2.7 }
#- { env: DJANGO=django==1.7, python: 3.3 }
#- { env: DJANGO=django==1.7, python: 3.4 }
#- { env: DJANGO=django==1.7, python: pypy }
# Django 1.8: "Python 2.7 or above"
- { env: DJANGO=django==1.8, python: 2.7 }
- { env: DJANGO=django==1.8, python: 3.4 }
@@ -26,7 +12,8 @@ matrix:
- { env: DJANGO=django==1.9, python: 3.5 }
- { env: DJANGO=django==1.9, python: pypy }
# Django 1.10 (prerelease)
#- { env: DJANGO="--pre django", python: 3.5 }
- { env: DJANGO="--pre django", python: 2.7 }
- { env: DJANGO="--pre django", python: 3.5 }
cache:
directories:
- $HOME/.cache/pip