-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
47 lines (40 loc) · 778 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
43
44
45
46
47
[tox]
envlist =
py36, py37, py38,
docs
[testenv]
commands =
flake8
[py]
deps=
pytest-cov
pytest-flakes
pytest-random
pytest-remove-stale-bytecode
[pep8]
show-source=True
statistics=True
exclude=.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,setup.py,docs
[testenv:py36]
deps =
-rrequirements.txt
{[py]deps}
commands = python -m unittest discover -s ./tests
basepython = python3.6
[testenv:py37]
deps =
-rrequirements.txt
{[py]deps}
commands = python -m unittest discover -s ./tests
basepython = python3.7
[testenv:py38]
deps =
-rrequirements.txt
{[py]deps}
commands = python -m unittest discover -s ./tests
basepython = python3.8
[testenv:docs]
deps=
Sphinx
sphinx_rtd_theme
commands = python setup.py build_sphinx