
OpenStack is dropping the py2.7 support in ussuri cycle. specs repo either has py27 job or requirement or tox env. Add bindep.txt file so that wheels can be build. Ussuri Communtiy-wide goal: https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html Change-Id: I51c3bcf161b363e4b188175b75097d19a0d10a74
25 lines
514 B
INI
25 lines
514 B
INI
[tox]
|
|
minversion = 3.1.1
|
|
envlist = docs,pep8
|
|
skipsdist = True
|
|
ignore_basepython_conflict = True
|
|
|
|
[testenv]
|
|
basepython = python3
|
|
usedevelop = True
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
install_command = pip install -U {opts} {packages}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
commands = stestr run --slowest {posargs}
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
whitelist_externals =
|
|
rm
|
|
commands =
|
|
rm -rf doc/build
|
|
python setup.py build_sphinx
|
|
whereto doc/source/_extra/.htaccess doc/test/redirect-tests.txt
|