forked from openstack-archive/surveil
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
34 lines (26 loc) · 975 Bytes
/
tox.ini
File metadata and controls
34 lines (26 loc) · 975 Bytes
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
[tox]
minverson = 1.6
envlist = py34, py27, pep8, docs
skipsdist = True
[testenv]
setenv = LANGUAGE=en_US
LC_ALL=en_US.utf-8
SURVEIL_INTEGRATION_TESTS=False
SURVEIL_FUNCTIONAL_MONGOMOCK=False
usedevelop = True
install_command = pip install -U --force-reinstall {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='--parallel --concurrency=1'
[testenv:integration]
setenv = SURVEIL_INTEGRATION_TESTS=True
SURVEIL_INTEGRATION_TESTS_BACKEND=DOCKER
commands = python setup.py testr --slowest --testr-args='--parallel --concurrency=1 --isolated'
[testenv:pep8]
commands = flake8
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
[flake8]
exclude = .venv,.git,.tox,env,dist,*openstack/common*,*lib/python*/,*egg,build,*doc/conf.py,surveil/cmd/pack_upload.py,surveil/cmd/surveil_from_nagios.py