fb5e466bc6
Add a command for checking out all of the repositories from a given team at one time. Change-Id: I2a43b67e0390453bfc6051c613b94780057a3187 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
35 lines
600 B
INI
35 lines
600 B
INI
[tox]
|
|
minversion = 2.0
|
|
envlist = py35,pep8
|
|
|
|
[testenv]
|
|
basepython = python3
|
|
install_command = pip install {opts} {packages}
|
|
usedevelop = True
|
|
deps =
|
|
-r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
setenv =
|
|
PYTHON=coverage run --source goal_tools --parallel-mode
|
|
passenv =
|
|
ZUUL_CACHE_DIR
|
|
commands =
|
|
stestr run {posargs}
|
|
stestr slowest
|
|
coverage combine
|
|
coverage report -m
|
|
|
|
[testenv:pep8]
|
|
deps =
|
|
flake8
|
|
commands =
|
|
flake8
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[flake8]
|
|
show-source = True
|
|
enable-extensions = H203,H106
|
|
exclude = .tox,dist,doc,*.egg,build
|