2019-05-12 15:40:45 +00:00
|
|
|
[tox]
|
|
|
|
skipsdist = True
|
2019-05-12 17:38:49 +00:00
|
|
|
envlist = lint,py27,py34,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.4: py34
|
|
|
|
3.5: py35
|
|
|
|
3.6: py36
|
|
|
|
3.7: py37, lint, docs
|
|
|
|
3.8-dev: py38
|
|
|
|
|
2019-05-12 15:40:45 +00:00
|
|
|
[testenv]
|
|
|
|
setenv =
|
|
|
|
PYTHONPATH = {toxinidir}/src
|
|
|
|
deps =
|
|
|
|
-r{toxinidir}/requirements.txt
|
2019-08-26 11:11:58 +00:00
|
|
|
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
|