forked from LiberTEM/LiberTEM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
86 lines (79 loc) · 1.69 KB
/
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[tox]
envlist = py{36,37}
[testenv]
commands=
pytest --durations=5 --cov=libertem --cov-report=term --cov-report=html --cov-report=xml {posargs:tests/}
pytest --doctest-modules src/libertem/common/
deps=
-rtest_requirements.txt
[testenv:flake8]
changedir={toxinidir}
deps=
flake8
commands=
flake8 --config=setup.cfg src/
skipsdist=True
skip_install=True
# general QA stuff here, we don't want to fail the flake8 build for unrelated reasons
[testenv:qa]
changedir={toxinidir}
deps=
pyroma
pygments
commands=
pyroma {toxinidir}
skipsdist=True
skip_install=True
[testenv:build_client]
changedir={toxinidir}
skipsdist=True
skip_install=True
passenv=APPDATA
deps=
commands=
python setup.py build_client copy_client
[testenv:docs]
changedir={toxinidir}
basepython=python3.7
whitelist_externals=
make
setenv=
PYTHONPATH={toxinidir}
commands=
sphinx-autobuild -b html "{toxinidir}/docs/source" "{toxinidir}/docs/build/html" -p 8008 {posargs}
deps=
sphinx
sphinx-autobuild
sphinxcontrib-bibtex
skipsdist=True
[testenv:docs-deploy]
changedir={toxinidir}
basepython=python3.7
setenv=
PYTHONPATH={toxinidir}
commands=
travis-sphinx build
travis-sphinx deploy
deps=
sphinx
travis-sphinx
sphinxcontrib-bibtex
skipsdist=True
passenv=
GH_*
TRAVIS_*
[testenv:docs-check]
changedir={toxinidir}
basepython=python3.7
setenv=
PYTHONPATH={toxinidir}
commands=
sphinx-build -b html "{toxinidir}/docs/source" "{toxinidir}/docs/build/html"
# sphinx-build -b linkcheck "{toxinidir}/docs/source" "{toxinidir}/docs/build/html"
# cat docs/build/html/output.txt
deps=
sphinx
sphinxcontrib-bibtex
skipsdist=True
whitelist_externals=
cat