python-escpos/tox.ini

32 lines
718 B
INI
Raw Normal View History

[tox]
envlist = py27, py34, py35, py36, py37, docs, flake8
[testenv]
deps = nose
jaconv
coverage
2016-03-28 21:23:18 +00:00
scripttest
mock
pytest!=3.2.0,!=3.3.0
2016-08-30 11:09:29 +00:00
pytest-cov
pytest-mock
2019-06-04 20:17:18 +00:00
hypothesis!=3.56.9,<4
2017-08-04 11:42:07 +00:00
viivakoodi
2016-08-30 11:33:35 +00:00
commands = py.test --cov escpos
passenv = ESCPOS_CAPABILITIES_PICKLE_DIR ESCPOS_CAPABILITIES_FILE CI TRAVIS TRAVIS_* APPVEYOR APPVEYOR_* CODECOV_*
[testenv:docs]
basepython = python
changedir = doc
deps = sphinx>=1.5.1
setuptools_scm
viivakoodi
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
2017-01-30 00:26:50 +00:00
[testenv:flake8]
basepython = python
2017-01-30 01:29:08 +00:00
# TODO add flake8-future
# TODO add flake8-docstrings
2017-01-30 00:26:50 +00:00
deps = flake8
commands = flake8