-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtox.ini
35 lines (32 loc) · 784 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
[tox]
envlist = py27, style, docs
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/provis
PYTHONHASHSEED = 3000
commands = py.test -v --basetemp={envtmpdir}
deps =
-r{toxinidir}/requirements.txt
[testenv:style]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/provis
PYTHONHASHSEED = 3000
deps =
-r{toxinidir}/requirements.txt
flake8
commands =
# flake8 ./provis --exit-zero
# flake8 ./tests --exit-zero
python setup.py flake8
flake8 ./tests
[testenv:docs]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/provis
PYTHONHASHSEED = 3000
changedir = docs/
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-docs.txt
commands =
# sphinx-build -b linkcheck ./ _build/
sphinx-build -b html ./ _build/