|
|
|
@ -5,7 +5,7 @@ envlist = py36,py34,py27,pep8
|
|
|
|
|
[testenv] |
|
|
|
|
install_command = pip install {opts} {packages} |
|
|
|
|
deps = |
|
|
|
|
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} |
|
|
|
|
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} |
|
|
|
|
-r{toxinidir}/test-requirements.txt |
|
|
|
|
-r{toxinidir}/requirements.txt |
|
|
|
|
setenv = VIRTUAL_ENV={envdir} |
|
|
|
@ -30,7 +30,7 @@ import_exceptions = blazarclient.i18n
|
|
|
|
|
[testenv:venv] |
|
|
|
|
basepython = python3 |
|
|
|
|
deps = |
|
|
|
|
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} |
|
|
|
|
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} |
|
|
|
|
-r{toxinidir}/requirements.txt |
|
|
|
|
-r{toxinidir}/doc/requirements.txt |
|
|
|
|
commands = {posargs} |
|
|
|
@ -50,7 +50,7 @@ deps =
|
|
|
|
|
[testenv:releasenotes] |
|
|
|
|
basepython = python3 |
|
|
|
|
deps = |
|
|
|
|
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} |
|
|
|
|
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} |
|
|
|
|
-r{toxinidir}/requirements.txt |
|
|
|
|
-r{toxinidir}/doc/requirements.txt |
|
|
|
|
commands = sphinx-build -a -W -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html |
|
|
|
|