Skip to content

Commit

Permalink
Add support for Django 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jleclanche committed Dec 2, 2017
1 parent 1008ece commit 7666f08
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@ env:
- TOXENV=py27-django111
- TOXENV=py27-checkmigrations
- TOXENV=py34-django111
- TOXENV=py34-django20
- TOXENV=py35-django111
- TOXENV=py35-django20
- TOXENV=py35-djangomaster
- TOXENV=py36-django111
- TOXENV=py36-django20
- TOXENV=py36-djangomaster
- TOXENV=py36-checkmigrations
- TOXENV=flake8
Expand All @@ -24,11 +27,15 @@ matrix:
include:
- python: "3.5"
env: TOXENV=py35-django111
- python: "3.5"
env: TOXENV=py35-django20
- python: "3.5"
env: TOXENV=py35-djangomaster
exclude:
- python: "3.6"
env: TOXENV=py35-django111
- python: "3.6"
env: TOXENV=py35-django20
- python: "3.6"
env: TOXENV=py35-djangomaster
allow_failures:
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ classifiers =
Programming Language :: Python :: 3.6
Framework :: Django
Framework :: Django :: 1.11
Framework :: Django :: 2.0

[options]
packages = find:
Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[tox]
envlist =
py27-django{110,111}
py34-django{110,111}
py35-django{110,111,master}
py36-django{110,111,master}
py34-django{110,111,20}
py35-django{110,111,20,master}
py36-django{110,111,20,master}
flake8
checkmigrations

Expand All @@ -14,6 +14,7 @@ commands = python runtests.py {posargs}
deps =
-r{toxinidir}/tests/requirements.txt
django111: Django>=1.11,<2.0
django20: Django>=2.0,<2.1
djangomaster: https://github.com/django/django/archive/master.tar.gz

[testenv:flake8]
Expand Down

0 comments on commit 7666f08

Please sign in to comment.