forked from H3C/teuthology
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
46 lines (40 loc) · 1.14 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
[tox]
envlist = docs, py27, py27-integration, flake8
[testenv:py27]
install_command = pip install --upgrade {opts} {packages}
passenv = HOME
sitepackages=True
deps=
-r{toxinidir}/requirements.txt
mock
fudge
nose
pytest-cov==1.6
coverage==3.7.1
commands=py.test --cov=teuthology --cov-report=term -v {posargs:teuthology scripts}
[testenv:py27-integration]
install_command = pip install --upgrade {opts} {packages}
passenv = HOME
sitepackages=True
deps=
-r{toxinidir}/requirements.txt
mock
fudge
nose
pytest-cov==1.6
coverage==3.7.1
commands=py.test --cov=teuthology --cov-report=term -v {posargs:teuthology/test/integration teuthology/orchestra/test/integration}
basepython=python2.7
[testenv:flake8]
install_command = pip install --upgrade {opts} {packages}
deps=
flake8
commands=flake8 --select=F,E9 {posargs:teuthology scripts}
[testenv:docs]
install_command = pip install --upgrade {opts} {packages}
basepython=python
changedir=docs
deps=sphinx
commands=
sphinx-apidoc -f -o . ../teuthology ../teuthology/test ../teuthology/orchestra/test ../teuthology/task/test
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html