forked from jianghuaw/os-xenapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
47 lines (39 loc) · 994 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
39
40
41
42
43
44
45
46
47
[tox]
minversion = 1.6
envlist = py35,py34,py27,pypy,pep8
skipsdist = True
[testenv]
usedevelop = True
whitelist_externals = flake8
bash
find
rm
install_command = pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
OS_TEST_PATH=./os_xenapi/tests/unit
LANGUAGE=en_US
LC_ALL=en_US.utf-8
deps =
-r{toxinidir}/test-requirements.txt
commands =
find . -type f -name "*.pyc" -delete
python setup.py testr --slowest --testr-args='{posargs}'
[testenv:py34]
commands = nosetests os_xenapi.tests
[testenv:pep8]
commands = flake8
[testenv:venv]
commands = {posargs}
[testenv:cover]
commands = python setup.py test --coverage --testr-args='{posargs}'
[testenv:docs]
commands = python setup.py build_sphinx
[testenv:debug]
commands = oslo_debug_helper {posargs}
[flake8]
show-source = True
builtins = _
ignore = E126,E128,H405
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
max-complexity=25