зеркало из https://github.com/mozilla/gecko-dev.git
45 строки
894 B
INI
45 строки
894 B
INI
|
[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
|