forked from cowrie/cowrie
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
42 lines (37 loc) · 853 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[tox]
skipsdist = True
envlist = lint,py27,py35,py36,py37,py38,docs
deps = -r{toxinidir}/requirements.txt
[travis]
python =
2.7: py27
3.5: py35
3.6: py36
3.7: py37, lint, docs
3.8-dev: py38
pypy: pypy
pypy3: pypy3
[testenv]
setenv =
PYTHONPATH = {toxinidir}/src
deps =
-r{toxinidir}/requirements.txt
# libvirt-python==5.5.0
commands =
trial cowrie
[testenv:lint]
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-dev.txt
commands =
flake8 --count --application-import-names cowrie --max-line-length=120 --statistics {toxinidir}/src
[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