python-escpos/tox.ini

40 lines
822 B
INI
Raw Normal View History

[tox]
2020-05-09 00:02:28 +02:00
envlist = py35, py36, py37, py38, docs, flake8
2020-05-09 01:08:16 +02:00
[gh-actions]
python =
2.7: py27
3.6: py36
3.7: py37
3.8: py38
[testenv]
deps = nose
jaconv
coverage
2016-03-28 14:23:18 -07:00
scripttest
mock
pytest!=3.2.0,!=3.3.0
2016-08-30 13:09:29 +02:00
pytest-cov
pytest-mock
2020-05-09 00:39:41 +02:00
hypothesis>4
python-barcode
2020-05-09 00:27:58 +02:00
commands = pytest --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
python-barcode
2020-05-11 23:44:10 +02:00
sphinxcontrib-spelling>=5
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