forked from gawel/panoramisk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
50 lines (44 loc) · 887 Bytes
/
tox.ini
File metadata and controls
50 lines (44 loc) · 887 Bytes
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
49
[tox]
envlist = py35,py36,py37,py38,flake8,coverage,docs
[flake8]
max-line-length = 120
[testenv]
skip_install=true
setenv =
COVERAGE_FILE={toxinidir}/.coverage.{envname}
commands =
pip install -e .[test]
coverage run {envbindir}/py.test []
deps =
coverage
[testenv:flake8]
basepython = python3.8
commands =
flake8 panoramisk examples
deps =
flake8
[testenv:coverage]
basepython = python3.8
skip_install=false
skipsdist=true
deps =
coverage
setenv =
COVERAGE_FILE={toxinidir}/.coverage
commands =
coverage erase
coverage combine
coverage report --show-missing
[testenv:docs]
skip_install=false
skipsdist=true
basepython = python3.8
changedir = docs
whitelist_externals =
rm
deps =
sphinx
Pygments
commands =
rm -Rf {envtmpdir}/doctrees {envtmpdir}/html
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html