forked from KOliver94/django-rest-social-auth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
42 lines (39 loc) · 1002 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[tox]
envlist=
py{36}-django{22, 30, 31, 32}
py{37}-django{22, 30, 31, 32}
py{38}-django{22, 30, 31, 32}
py{39}-django{22, 30, 31, 32}
[testenv]
setenv =
PYTHONPATH = {toxinidir}/example_project
LC_ALL = en_US.utf-8
basepython =
py36: python3.6
py37: python3.7
py38: python3.8
py39: python3.9
deps =
py36: cryptography<3.4
djangorestframework<4.0
social-auth-core==4.1.0
social-auth-app-django==5.0.0
djangorestframework-jwt
djangorestframework_simplejwt
django-rest-knox<5.0.0
django22: Django>=2.2.17,<2.3
django30: Django>=3.0,<3.1
django31: Django>=3.1,<3.2
django32: Django>=3.2,<3.3
py37-django22: coverage
-rrequirements_test.txt
commands =
py.test {posargs}
[testenv:py36-django{22, 30, 31, 32}]
commands =
py.test --ignore=tests/test_simple_jwt.py {posargs}
[testenv:py37-django22]
commands =
flake8 .
coverage run --source=rest_social_auth -m py.test {posargs}
coverage report