Skip to content

Commit

Permalink
Upgrade Django to minimum of 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
vtemian committed Mar 4, 2020
1 parent 3f318ee commit 9929a6d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ language: python
matrix:
include:
- python: 3.6
env: TOXENV=py36-111
env: TOXENV=py36-22
- python: 3.6
env: TOXENV=py36-20
env: TOXENV=py36-30
- python: 3.7
env: TOXENV=py37-111
env: TOXENV=py37-22
- python: 3.7
env: TOXENV=py37-20
env: TOXENV=py37-30
# command to install dependencies
install:
- pip install tox
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
test_suite='runtests.runtests',
license='AGPL-3.0',
install_requires=[
'Django>=1.11',
'Django>=2.2',
'dpath~=1.4',
'djangorestframework~=3.10',
'djangorestframework-jsonapi~=2.8',
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[tox]
envlist =
py36-{111,20}
py37-{111,20}
py36-{22, 30}
py37-{22, 30}

[testenv]
passenv = TRAVIS TRAVIS_*
deps =
111: Django >= 1.11, < 2.0
20: Django >= 2.0, < 2.1
22: Django >= 2.2, < 3.0
30: Django >= 3.0, < 3.1
coveralls
commands =
coverage run --source=moonsheep setup.py test
Expand Down

0 comments on commit 9929a6d

Please sign in to comment.