Skip to content

Commit

Permalink
test also in Django 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrDlouhy committed Aug 30, 2018
1 parent b6e5238 commit 4096c2d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ env:
- DJANGO='Django==1.10.*'
- DJANGO='Django==1.11.*'
- DJANGO='Django==2.0.*'
- DJANGO='Django==2.1.*'
matrix:
exclude:
# Django >= 1.7 does not support Python 2.6
Expand All @@ -29,16 +30,22 @@ matrix:
env: DJANGO='Django==1.11.*'
- python: "2.6"
env: DJANGO='Django==2.0.*'
- python: "2.6"
env: DJANGO='Django==2.1.*'
# Django >= 2.0 does not support Python 2.7
- python: "2.7"
env: DJANGO='Django==2.0.*'
# Django < 1.7 does not support Python 3.4
- python: "2.7"
env: DJANGO='Django==2.1.*'
# Django < 1.7 and >= 2.1 does not support Python 3.4
- python: "3.4"
env: DJANGO='Django==1.4.*'
- python: "3.4"
env: DJANGO='Django==1.5.*'
- python: "3.4"
env: DJANGO='Django==1.6.*'
- python: "3.4"
env: DJANGO='Django==2.1.*'
# Django < 1.8 does not support Python 3.5
- python: "3.5"
env: DJANGO='Django==1.4.*'
Expand Down
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ envlist:
py34-django1.{7,8,9,10,11,X-dev}
py35-django1.{8,9,10,11,X-dev}

py34-django2.0
py35-django2.0
py34-django2.{0,1}
py35-django2.{0,1}

[testenv]
commands = python setup.py test
Expand All @@ -25,4 +25,5 @@ deps =
django1.10: Django==1.10.*
django1.11: Django==1.11.*
django2.0: Django==2.0.*
django2.1: Django==2.1.*
django1.X-dev: https://github.com/django/django/zipball/master

0 comments on commit 4096c2d

Please sign in to comment.