OpenStack Release Bot
502cf81a01
Update the URL to the upper-constraints file to point to the redirect rule on releases.openstack.org so that anyone working on this branch will switch to the correct upper-constraints list automatically when the requirements repository branches. Until the requirements repository has as stable/victoria branch, tests will continue to use the upper-constraints list on master. Change-Id: Iec5f4391e983dbce43ca96d2b02331fd74443c45
27 lines
736 B
INI
27 lines
736 B
INI
[tox]
|
|
minversion = 2.1
|
|
envlist = rpm-packaging-lint
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
basepython = python3
|
|
setenv =
|
|
VIRTUAL_ENV={envdir}
|
|
LC_ALL=en_US.utf-8
|
|
install_command = pip install -U -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/victoria} {opts} {packages}
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
|
|
|
[testenv:linters]
|
|
commands =
|
|
{toxinidir}/tools/run_renderspec.sh {toxinidir} {posargs}
|
|
{toxinidir}/tools/run_specchecks.sh {toxinidir} {posargs}
|
|
{toxinidir}/tools/run_speccleaner.sh {toxinidir} {posargs}
|
|
|
|
# compat. remove me
|
|
[testenv:lint]
|
|
commands = {[testenv:linters]commands}
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|