
At now, there is no build check for the repository. Having some build check would be nice. Change-Id: Ie22c5adf67da4fc5d805569b4a53752a25fae5f3
25 lines
578 B
INI
25 lines
578 B
INI
[tox]
|
|
minversion = 2.0
|
|
envlist = checkbuild
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
basepython = python2.7
|
|
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} -U {opts} {packages}
|
|
setenv =
|
|
VIRTUAL_ENV={envdir}
|
|
deps =
|
|
-r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:checkbuild]
|
|
commands =
|
|
rm -rf {envdir}/cafe-ui
|
|
cookiecutter --no-input --output-dir {envdir} {toxinidir}
|
|
flake8 {envdir}/cafe-ui
|
|
whitelist_externals =
|
|
rm
|