Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test against Django 2.0. #119

Merged
merged 1 commit into from Jan 24, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions .travis.yml
Expand Up @@ -11,6 +11,7 @@ env:
- DJANGO=1.9
- DJANGO=1.10
- DJANGO=1.11
- DJANGO=2.0
os:
- linux
matrix:
Expand All @@ -21,6 +22,9 @@ matrix:
- { python: 3.5, env: TOXENV=apicheck }
- { python: 3.5, env: TOXENV=linkcheck }
- { python: 3.5, env: TOXENV=cov }
exclude:
- { python: 2.7, env: DJANGO=2.0 }
- { python: pypy, env: DJANGO=2.0 }
install: travis_retry pip install -U tox-travis
services: rabbitmq
script: tox -v -- -v
Expand Down
1 change: 1 addition & 0 deletions requirements/test-django20.txt
@@ -0,0 +1 @@
django>=2.0,<2.1
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -52,6 +52,7 @@ def _pyimp():
Framework :: Django :: 1.9
Framework :: Django :: 1.10
Framework :: Django :: 1.11
Framework :: Django :: 2.0
Operating System :: OS Independent
Topic :: Communications
Topic :: System :: Distributed Computing
Expand Down
6 changes: 4 additions & 2 deletions tox.ini
@@ -1,8 +1,8 @@
[tox]
envlist =
py27-django{18,19,110,111}
py34-django{18,19,110,111}
py35-django{18,19,110,111}
py34-django{18,19,110,111,20}
py35-django{18,19,110,111,20}
pypy-django{18,19,110,111}

flake8
Expand All @@ -18,6 +18,7 @@ DJANGO =
1.9: django19
1.10: django110
1.11: django111
2.0: django20

[testenv]
deps=
Expand All @@ -27,6 +28,7 @@ deps=

cov: -r{toxinidir}/requirements/test-django.txt

django20: -r{toxinidir}/requirements/test-django20.txt
django111: -r{toxinidir}/requirements/test-django111.txt
django110: -r{toxinidir}/requirements/test-django110.txt
django19: -r{toxinidir}/requirements/test-django19.txt
Expand Down