-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathtox.ini
44 lines (38 loc) · 894 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
43
44
[tox]
envlist=check,docs,py{27,34,35,36,py}-pytestrelease,py{27,36}-pytest{master,features}
[testenv]
commands=py.test {posargs:testing/}
setenv=
_PYTEST_SETUP_SKIP_PLUGGY_DEP=1
deps=
pytestrelease: pytest
pytestmaster: git+https://github.com/pytest-dev/pytest.git@master
pytestfeatures: git+https://github.com/pytest-dev/pytest.git@features
[testenv:benchmark]
commands=py.test {posargs:testing/benchmark.py}
deps=
pytest
pytest-benchmark
[testenv:check]
deps =
flake8
restructuredtext_lint
pygments
commands =
flake8 pluggy.py setup.py testing
rst-lint CHANGELOG.rst README.rst
[testenv:docs]
deps =
sphinx
pygments
commands =
sphinx-build -b html {toxinidir}/docs {toxinidir}/build/html-docs
[pytest]
minversion=2.0
#--pyargs --doctest-modules --ignore=.tox
addopts=-rxsX
norecursedirs=.tox ja .hg .env*
filterwarnings =
error
[flake8]
max-line-length=99