2015-12-30 15:58:28 +00:00
|
|
|
[tox]
|
2016-06-20 14:41:46 +00:00
|
|
|
envlist = py27, py34, py35, docs
|
2015-12-30 15:58:28 +00:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
deps = nose
|
|
|
|
coverage
|
2016-03-28 21:23:18 +00:00
|
|
|
scripttest
|
2016-07-23 23:53:37 +00:00
|
|
|
mock
|
2016-08-30 11:09:29 +00:00
|
|
|
pytest
|
|
|
|
pytest-cov
|
2016-09-27 17:50:33 +00:00
|
|
|
pytest-mock
|
2016-07-23 23:53:37 +00:00
|
|
|
hypothesis
|
2016-08-30 11:33:35 +00:00
|
|
|
commands = py.test --cov escpos
|
2016-06-20 14:41:46 +00:00
|
|
|
|
|
|
|
[testenv:docs]
|
|
|
|
basepython = python
|
|
|
|
changedir = doc
|
|
|
|
deps = sphinx
|
|
|
|
setuptools_scm
|
|
|
|
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
|