mirror of https://github.com/cowrie/cowrie.git
33 lines
715 B
INI
33 lines
715 B
INI
|
[tox]
|
||
|
skipsdist = True
|
||
|
envlist = lint,py27,py37,docs
|
||
|
deps = -r{toxinidir}/requirements.txt
|
||
|
|
||
|
[testenv]
|
||
|
setenv =
|
||
|
PYTHONPATH = {toxinidir}/src
|
||
|
deps =
|
||
|
-r{toxinidir}/requirements.txt
|
||
|
commands =
|
||
|
trial cowrie
|
||
|
|
||
|
[testenv:lint]
|
||
|
setenv =
|
||
|
PYTHONPATH = {toxinidir}/src
|
||
|
deps =
|
||
|
-r{toxinidir}/requirements.txt
|
||
|
-r{toxinidir}/requirements-dev.txt
|
||
|
commands =
|
||
|
flake8 --count --application-import-names cowrie --max-line-length=120 --statistics .
|
||
|
|
||
|
[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
|