Skip to content

Commit

Permalink
Support for Django 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
tschlecht committed Nov 21, 2019
1 parent b0fdd5c commit b000102
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
@@ -1,12 +1,11 @@
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
env:
- DJANGO=1.10
- DJANGO=1.11
- DJANGO=2.2

install:
- pip install tox-travis
Expand All @@ -15,4 +14,4 @@ script: tox

after_success:
- pip install coveralls
- coveralls
- coveralls
2 changes: 1 addition & 1 deletion runtests.py
Expand Up @@ -16,7 +16,7 @@
'rest_framework_custom_exceptions',
'tests',
),
MIDDLEWARE_CLASSES=(
MIDDLEWARE=(
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
Expand Down
13 changes: 6 additions & 7 deletions tox.ini
@@ -1,20 +1,19 @@
[tox]
envlist =
py{27,34,35,36}-dj{110,111}-drf{36,37,38}
py{35,36}-dj{111,22}-drf{39,310}
py37-dj22-drf310

[travis:env]
DJANGO =
1.10: dj110
1.11: dj111
2.2: dj22

[testenv]
deps =
dj110: Django>=1.10,<1.11
dj111: Django>=1.11,<1.12
drf35: djangorestframework>=3.5,<3.6
drf36: djangorestframework>=3.6,<3.7
drf37: djangorestframework>=3.7,<3.8
drf38: djangorestframework>=3.8,<3.9
dj22: Django>=2.2,<2.3
drf39: djangorestframework>=3.9,<3.10
drf310: djangorestframework>=3.10,<3.11
coverage
commands =
{envpython} --version
Expand Down

0 comments on commit b000102

Please sign in to comment.