ui-cookiecutter/tox.ini
manchandavishal 3216c90db0 Changes for url transition to OpenDev
This commit changes openstack.org URL to opendev.org URL
as discussed here [1]

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html

Change-Id: I10d71b6face1f58c42ae3e2a590f1ac77fb5e4af
2019-04-23 05:14:24 +00:00

34 lines
890 B
INI

[tox]
minversion = 2.0
envlist = checkbuild
skipsdist = True
[testenv]
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[testenv:venv]
basepython = python3
commands = {posargs}
[testenv:checkbuild]
basepython = python3
setenv =
IGNORE_GIT=1
commands =
rm -rf {envdir}/horizon
git clone https://opendev.org/openstack/horizon {envdir}/horizon
rm -rf {envdir}/cafe-ui
cookiecutter --no-input --output-dir {envdir} {toxinidir}
# To pass {postargs} for running `tox -edocs` in generated plugin,
# run `tox -- -edocs` in ui-cookiecutter.
tox --workdir {envdir}/cafe-ui/.tox -c {envdir}/cafe-ui/tox.ini {posargs}
whitelist_externals =
git
rm
tox