|
|
|
@ -5,7 +5,7 @@ envlist = py35,py37,py27,pep8,docs
|
|
|
|
|
[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
|
|
|
|
|
distribute = False
|
|
|
|
@ -14,7 +14,7 @@ commands = stestr run {posargs}
|
|
|
|
|
[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}/test-requirements.txt
|
|
|
|
|
-r{toxinidir}/doc/requirements.txt
|
|
|
|
|
-r{toxinidir}/requirements.txt
|
|
|
|
@ -44,7 +44,7 @@ exclude=.venv,.git,.tox,dist,*lib/python*,*egg,build
|
|
|
|
|
[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}/doc/requirements.txt
|
|
|
|
|
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
|
|
|
|
|
|
|
|
|