forked from marshmallow-code/marshmallow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
37 lines (29 loc) · 813 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
[tox]
envlist = lint,py27,py35,py36,py37,docs
[testenv]
extras = tests,reco
commands = pytest {posargs}
[testenv:lint]
extras = lint
commands = pre-commit run --all-files --show-diff-on-failure
[testenv:py27]
commands = pytest --ignore=tests/test_py3/ {posargs}
[testenv:docs]
deps = -rdocs/requirements.txt
extras =
commands = sphinx-build docs/ docs/_build {posargs}
; 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 marshmallow
[testenv:watch-readme]
deps = restview
skip_install = true
commands = restview README.rst
[testenv:benchmark]
extras = reco
usedevelop = true
commands = python performance/benchmark.py --iterations=100 --repeat=3