Skip to content

Commit

Permalink
Update test config and version to python 3.7+ only and drf 3.10+ only
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronn committed Jan 22, 2020
1 parent 67a6e3f commit 594447a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ verify_ssl = true
name = "pypi"

[packages]
django = {version=">=2.2.9"}
django = "*"
djangorestframework = "*"
twilio = "*"

Expand Down
14 changes: 7 additions & 7 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ curl -X POST -d "token=815381" localhost:8000/callback/auth/
Requirements
============
- Python (3.6+)
- Django (2.0+)
- Django Rest Framework + AuthToken (3.6+)
- Python (3.7+)
- Django (2.2+)
- Django Rest Framework + AuthToken (3.10+)
- Python-Twilio (Optional, for mobile.)
Expand Down
9 changes: 5 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[tox]
envlist =
flake8
py37-django22-drf{37,38,39}
py37-django22-drf{310,311}
py37-django30-drf{310,311}

[testenv]
commands =
Expand All @@ -11,9 +12,9 @@ deps =
pytest-cov
pytest-django
django22: Django==2.2.*
drf37: djangorestframework==3.7.*
drf38: djangorestframework==3.8.*
drf39: djangorestframework==3.9.*
django30: Django==3.0.*
drf310: djangorestframework==3.10.*
drf311: djangorestframework==3.11.*
setenv =
PYTHONPATH = {toxinidir}

Expand Down

0 comments on commit 594447a

Please sign in to comment.