paperless-ngx/src/tox.ini

23 lines
565 B
INI
Raw Normal View History

2018-02-27 12:27:21 +01:00
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
skipsdist = True
2018-02-27 13:29:54 +01:00
envlist = py34, py35, py36, pycodestyle, doc
2018-02-27 12:27:21 +01:00
[testenv]
commands = pytest
deps = -r{toxinidir}/../requirements.txt
[testenv:pycodestyle]
commands=pycodestyle
deps=pycodestyle
2018-02-27 13:29:54 +01:00
[testenv:doc]
deps =
-r{toxinidir}/../requirements.txt
sphinx
commands=sphinx-build -b html ../docs ../docs/_build -W