forked from ClusterHQ/flocker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
38 lines (33 loc) · 869 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
[tox]
envlist = py27, lint, sphinx
minversion = 1.6
[testenv]
commands =
pip install --requirement dev-requirements.txt
trial --rterrors {posargs:flocker}
setenv =
PYTHONHASHSEED=random
[testenv:py27]
basepython = python2.7
[testenv:lint]
basepython = python2.7
changedir = {toxinidir}
commands =
pip install --requirement dev-requirements.txt
flake8 admin benchmark flocker
pylint admin benchmark flocker
[testenv:sphinx]
basepython = python2.7
changedir = {toxinidir}
commands =
pip install --requirement dev-requirements.txt
rm -rf docs/_build/html
sphinx-build -a -b spelling docs/ docs/_build/spelling
sphinx-build -a -b html docs/ docs/_build/html
[testenv:admin]
basepython = python2.7
usedevelop = True
changedir = {toxinidir}
commands =
pip install --requirement dev-requirements.txt
trial --rterrors admin