-
Notifications
You must be signed in to change notification settings - Fork 18
/
tox.ini
33 lines (25 loc) · 910 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
[tox]
envlist =
{py38}-django{3.2,4.2}-drf{3.14},
lint,
coveralls
toxworkdir = {env:TOX_WORK_DIR:.tox}
[testenv:lint]
deps = pylint
commands = pylint rest_framework_serializer_field_permissions --rcfile=.pylintrc --disable=fixme --disable=locally-disabled --disable=too-few-public-methods --disable=unused-argument
[testenv:coveralls]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps =
coveralls
Django==4.2
djangorestframework==3.14.0
pycrypto==2.6.1
commands =
coverage run --source=rest_framework_serializer_field_permissions --omit=tests/* --omit=test_app/* rest_framework_serializer_field_permissions/tests/runtests.py
coveralls
[testenv]
commands = python rest_framework_serializer_field_permissions/tests/runtests.py
deps =
django3.2: Django==3.2.18
django4.2: Django==4.2
drf3.14: djangorestframework==3.14.0