mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2025-02-06 13:10:32 +03:00
Add tox config
This commit is contained in:
parent
737c0102ad
commit
33c9bbd24d
6
setup.py
6
setup.py
|
@ -29,12 +29,6 @@ setup(
|
|||
extras_require={
|
||||
'with_social': ['django-allauth>=0.25.0'],
|
||||
},
|
||||
tests_require=[
|
||||
'responses>=0.5.0',
|
||||
'django-allauth>=0.25.0',
|
||||
'djangorestframework-jwt>=1.9.0',
|
||||
],
|
||||
test_suite='runtests.runtests',
|
||||
include_package_data=True,
|
||||
classifiers=[
|
||||
'Framework :: Django',
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
django-allauth>=0.25.0
|
||||
responses>=0.3.0
|
||||
flake8==2.4.0
|
||||
djangorestframework-jwt>=1.7.2
|
||||
djangorestframework>=3.6.4
|
27
tox.ini
Normal file
27
tox.ini
Normal file
|
@ -0,0 +1,27 @@
|
|||
[tox]
|
||||
envlist =
|
||||
py{27,35,36}-django111-drf{38,39},
|
||||
py{35,36,37}-django20-drf{38,39},
|
||||
lint,
|
||||
|
||||
[testenv]
|
||||
commands = coverage run --parallel-mode manage.py test
|
||||
usedevelop = True
|
||||
setenv =
|
||||
PYTHONDONTWRITEBYTECODE=1
|
||||
deps =
|
||||
django111: Django ~= 1.11.0
|
||||
django20: Django ~= 2.0.0
|
||||
drf38: djangorestframework ~= 3.8.0
|
||||
drf39: djangorestframework ~= 3.9.0
|
||||
djangorestframework-jwt >= 1.9.0
|
||||
django-allauth >= 0.25.0
|
||||
responses >= 0.5.0
|
||||
coverage
|
||||
|
||||
parallel_show_output = True
|
||||
|
||||
[testenv:lint]
|
||||
commands = flake8 rest_auth tests {posargs}
|
||||
deps =
|
||||
flake8
|
Loading…
Reference in New Issue
Block a user