forked from miguelgrinberg/slam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
48 lines (41 loc) · 737 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
48
[tox]
envlist = flake8,py27,py36,py37,py38,docs
skip_missing_interpreters=True
[testenv]
setenv =
TEST = 1
commands =
coverage run --branch --include="slam/*" setup.py test
coverage report --show-missing
coverage erase
rm slam/_handler.py
deps =
coverage
mock
whitelist_externals =
/bin/rm
[testenv:flake8]
basepython = python3.7
commands =
flake8 slam tests
deps =
flake8
[testenv:py27]
basepython = python2.7
[testenv:py36]
basepython = python3.6
[testenv:py37]
basepython = python3.7
[testenv:py38]
basepython = python3.8
[testenv:docs]
basepython = python3.7
deps =
sphinx
sphinxcontrib-programoutput
changedir =
docs
whitelist_externals =
make
commands =
make html