python-escpos/tox.ini
Patrick Kanzler 87438f9efa
SETUP move code to src
This way we can ensure that the packaged code is tested.
See https://hynek.me/articles/testing-packaging/ or c62a78c015

+ DOC adapt doc to new structure and test doc with travis
2016-06-20 17:48:14 +02:00

16 lines
331 B
INI

[tox]
envlist = py27, py34, py35, docs
[testenv]
deps = nose
coverage
scripttest
commands = nosetests --with-coverage --cover-erase --cover-branches
[testenv:docs]
basepython = python
changedir = doc
deps = sphinx
setuptools_scm
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html