forked from redhat-cip/dci-control-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
38 lines (33 loc) · 792 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]
skipsdist = True
envlist = pep8,py27,py34
[testenv]
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
install_command = pip install -U {packages}
setenv =
DCI_SETTINGS_MODULE = tests.settings
norecursedirs = .git docs bin scripts
passenv= PYTHONPATH DISABLE_DB_START DB_HOST
usedevelop = True
whitelist_externals =
sh
commands =
sh ./scripts/start_db.sh
[testenv:py27]
commands =
{[testenv]commands}
py.test -v {posargs: tests}
[testenv:py34]
commands =
{[testenv]commands}
py.test -v {posargs: tests}
[testenv:pep8]
commands =
flake8
[flake8]
max-line-length = 88
ignore = H405,H304,H104,E402,E129,E722,W605,W504,W503
exclude=.venv,.git,.tox,dist,*egg,*.egg-info,build,examples,doc
show-source = True
builtins = long