python-escpos/tox.ini

29 lines
529 B
INI
Raw Normal View History

[tox]
2017-01-30 01:26:50 +01:00
envlist = py27, py34, py35, docs, flake8
[testenv]
deps = nose
jaconv
coverage
2016-03-28 14:23:18 -07:00
scripttest
mock
2016-08-30 13:09:29 +02:00
pytest
pytest-cov
pytest-mock
hypothesis
2016-08-30 13:33:35 +02:00
commands = py.test --cov escpos
[testenv:docs]
basepython = python
changedir = doc
deps = sphinx>=1.5.1
setuptools_scm
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
2017-01-30 01:26:50 +01:00
[testenv:flake8]
basepython = python
2017-01-30 02:29:08 +01:00
# TODO add flake8-future
# TODO add flake8-docstrings
2017-01-30 01:26:50 +01:00
deps = flake8
commands = flake8