forked from FutureMind/drf-friendly-errors
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtox.ini
More file actions
35 lines (31 loc) · 889 Bytes
/
tox.ini
File metadata and controls
35 lines (31 loc) · 889 Bytes
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
[pytest]
addopts=--tb=short
[tox]
envlist =
{py27,py35,py36}-dj{110,111}-drf{33,34,35,36,37},
lint
[testenv]
commands = python runtests.py --fast {posargs} --coverage -rw
envdir = {toxworkdir}/venvs/{envname}
setenv =
PYTHONDONTWRITEBYTECODE=1
PYTHONWARNINGS=once
deps =
dj110: Django<1.11
dj111: Django<1.12
drf33: djangorestframework<3.4
drf34: djangorestframework<3.5
drf35: djangorestframework<3.6
drf36: djangorestframework<3.7
drf37: djangorestframework>3.6
-rrequirements/requirements-testing.txt
[testenv:lint]
basepython = python2.7
commands = python runtests.py --lintonly
deps =
-rrequirements/requirements-codestyle.txt
-rrequirements/requirements-testing.txt
[testenv:readme]
commands = ./setup.py check -rs
deps =
-rrequirements/requirements-packaging.txt