forked from marshmallow-code/apispec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
42 lines (35 loc) · 908 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=
lint
py{27,35,36,37}-marshmallow{2,3}
webframeworks
docs
[testenv]
extras = tests
deps =
marshmallow2: marshmallow>=2.0.0,<3.0.0
marshmallow3: marshmallow>=3.0.0a1,<4.0.0
commands = pytest {posargs}
[testenv:lint]
deps = pre-commit~=1.14
skip_install = true
commands = pre-commit run --all-files
[testenv:docs]
deps = -rdocs/requirements.txt
extras =
commands = sphinx-build docs/ docs/_build {posargs}
; Run tests against apispec-webframeworks
[testenv:webframeworks]
extras = tests,webframeworks-tests
commands = pytest --pyargs apispec_webframeworks
; Below tasks are for development only (not run in CI)
[testenv:watch-docs]
deps =
-rdocs/requirements.txt
sphinx-autobuild
extras =
commands = sphinx-autobuild --open-browser docs/ docs/_build {posargs} -z apispec
[testenv:watch-readme]
deps = restview
skip_install = true
commands = restview README.rst