Added Django 1.11 to travis/tox.

This commit is contained in:
Dirk Eschler 2017-04-05 13:48:18 +02:00
parent 85e26e3842
commit c0826dbcf8
2 changed files with 50 additions and 0 deletions

View file

@ -28,6 +28,9 @@ env:
- DJANGO=1.10 DB=sqlite
- DJANGO=1.10 DB=postgres
- DJANGO=1.10 DB=mysql
- DJANGO=1.11 DB=sqlite
- DJANGO=1.11 DB=postgres
- DJANGO=1.11 DB=mysql
matrix:
exclude:
- python: "3.2"
@ -79,6 +82,12 @@ matrix:
env: DJANGO=1.10 DB=postgres
- python: "2.6"
env: DJANGO=1.10 DB=mysql
- python: "2.6"
env: DJANGO=1.11 DB=sqlite
- python: "2.6"
env: DJANGO=1.11 DB=postgres
- python: "2.6"
env: DJANGO=1.11 DB=mysql
- python: "3.2"
env: DJANGO=1.9 DB=sqlite
@ -104,6 +113,18 @@ matrix:
env: DJANGO=1.10 DB=postgres
- python: "3.3"
env: DJANGO=1.10 DB=mysql
- python: "3.2"
env: DJANGO=1.11 DB=sqlite
- python: "3.2"
env: DJANGO=1.11 DB=postgres
- python: "3.2"
env: DJANGO=1.11 DB=mysql
- python: "3.3"
env: DJANGO=1.11 DB=sqlite
- python: "3.3"
env: DJANGO=1.11 DB=postgres
- python: "3.3"
env: DJANGO=1.11 DB=mysql
- python: "3.5"
env: DJANGO=1.5 DB=sqlite
- python: "3.5"
@ -171,6 +192,14 @@ matrix:
env: DJANGO=1.10 DB=mysql
- python: "3.5"
env: DJANGO=1.10 DB=mysql
- python: "3.2"
env: DJANGO=1.11 DB=mysql
- python: "3.3"
env: DJANGO=1.11 DB=mysql
- python: "3.4"
env: DJANGO=1.11 DB=mysql
- python: "3.5"
env: DJANGO=1.11 DB=mysql
before_install:
- pip install -q 'flake8<3'
- PYFLAKES_NODOCTEST=1 flake8 modeltranslation

21
tox.ini
View file

@ -5,6 +5,9 @@ exclude = .tox,docs/modeltranslation/conf.py
[tox]
distribute = False
envlist =
py35-1.11.X,
py34-1.11.X,
py27-1.11.X,
py35-1.10.X,
py34-1.10.X,
py27-1.10.X,
@ -38,6 +41,24 @@ commands =
{envpython} runtests.py
[testenv:py35-1.11.X]
basepython = python3.5
deps =
Django>=1.11,<1.12
Pillow
[testenv:py34-1.11.X]
basepython = python3.4
deps =
Django>=1.11,<1.12
Pillow
[testenv:py27-1.11.X]
basepython = python2.7
deps =
Django>=1.11,<1.12
Pillow
[testenv:py35-1.10.X]
basepython = python3.5
deps =