python-escpos/tox.ini

28 lines
500 B
INI

[tox]
envlist = py27, py34, py35, docs, flake8
[testenv]
deps = nose
jaconv
coverage
scripttest
mock
pytest
pytest-cov
pytest-mock
hypothesis
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
[testenv:flake8]
basepython = python
# TODO add flake8-future
deps = flake8
commands = flake8