2015-12-30 15:58:28 +00:00
|
|
|
[tox]
|
2020-05-08 22:02:28 +00:00
|
|
|
envlist = py35, py36, py37, py38, docs, flake8
|
2015-12-30 15:58:28 +00:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
deps = nose
|
2016-09-27 18:26:22 +00:00
|
|
|
jaconv
|
2015-12-30 15:58:28 +00:00
|
|
|
coverage
|
2016-03-28 21:23:18 +00:00
|
|
|
scripttest
|
2016-07-23 23:53:37 +00:00
|
|
|
mock
|
2017-12-03 22:49:46 +00:00
|
|
|
pytest!=3.2.0,!=3.3.0
|
2016-08-30 11:09:29 +00:00
|
|
|
pytest-cov
|
2016-09-27 17:50:33 +00:00
|
|
|
pytest-mock
|
2020-05-08 22:39:41 +00:00
|
|
|
hypothesis>4
|
2017-08-04 11:42:07 +00:00
|
|
|
viivakoodi
|
2020-05-08 22:27:58 +00:00
|
|
|
commands = pytest --cov escpos
|
2018-05-14 16:06:31 +00:00
|
|
|
passenv = ESCPOS_CAPABILITIES_PICKLE_DIR ESCPOS_CAPABILITIES_FILE CI TRAVIS TRAVIS_* APPVEYOR APPVEYOR_* CODECOV_*
|
2016-06-20 14:41:46 +00:00
|
|
|
|
|
|
|
[testenv:docs]
|
|
|
|
basepython = python
|
|
|
|
changedir = doc
|
2017-01-06 15:54:36 +00:00
|
|
|
deps = sphinx>=1.5.1
|
2016-06-20 14:41:46 +00:00
|
|
|
setuptools_scm
|
2017-08-04 12:01:26 +00:00
|
|
|
viivakoodi
|
2016-06-20 14:41:46 +00:00
|
|
|
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
|
2017-01-30 01:44:26 +00:00
|
|
|
# TODO add flake8-docstrings
|
2017-01-30 00:26:50 +00:00
|
|
|
deps = flake8
|
|
|
|
commands = flake8
|