cowrie/tox.ini

43 lines
852 B
INI
Raw Normal View History

2019-05-12 15:40:45 +00:00
[tox]
skipsdist = True
2020-05-05 02:52:10 +00:00
envlist = lint,py27,py35,py36,py37,py38,docs
2019-05-12 15:40:45 +00:00
deps = -r{toxinidir}/requirements.txt
2019-05-12 17:38:49 +00:00
[travis]
python =
2.7: py27
3.5: py35
3.6: py36
3.7: py37, lint, docs
3.8-dev: py38
pypy: pypy
pypy3: pypy3
2019-05-12 17:38:49 +00:00
2019-05-12 15:40:45 +00:00
[testenv]
setenv =
PYTHONPATH = {toxinidir}/src
deps =
-r{toxinidir}/requirements.txt
libvirt-python==5.5.0
2019-05-12 15:40:45 +00:00
commands =
trial cowrie
[testenv:lint]
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-dev.txt
commands =
2019-05-12 17:38:49 +00:00
flake8 --count --application-import-names cowrie --max-line-length=120 --statistics {toxinidir}/src
2019-05-12 15:40:45 +00:00
[testenv:docs]
setenv =
PYTHONPATH = {toxinidir}/src
changedir = docs
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-dev.txt
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
basepython = python3.7