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