Use TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated This allows to use upper-constraints file as more readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>. Change-Id: Id78b5ab392ac52a52731c87a4c06cbad1516ea85
This commit is contained in:
parent
d7b1d57cae
commit
4edad6b58f
8
tox.ini
8
tox.ini
@ -9,7 +9,7 @@ usedevelop = True
|
|||||||
setenv =
|
setenv =
|
||||||
PYTHONDONTWRITEBYTECODE=1
|
PYTHONDONTWRITEBYTECODE=1
|
||||||
deps =
|
deps =
|
||||||
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
.[ldap,memcache,mongodb]
|
.[ldap,memcache,mongodb]
|
||||||
commands =
|
commands =
|
||||||
@ -43,7 +43,7 @@ passenv = FAST8_NUM_COMMITS
|
|||||||
# NOTE(browne): This is required for the integration test job of the bandit
|
# NOTE(browne): This is required for the integration test job of the bandit
|
||||||
# project. Please do not remove.
|
# project. Please do not remove.
|
||||||
deps =
|
deps =
|
||||||
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
.[bandit]
|
.[bandit]
|
||||||
commands = bandit -r keystone -x 'keystone/tests/*'
|
commands = bandit -r keystone -x 'keystone/tests/*'
|
||||||
@ -85,7 +85,7 @@ passenv =
|
|||||||
|
|
||||||
[testenv:functional]
|
[testenv:functional]
|
||||||
deps =
|
deps =
|
||||||
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
setenv = OS_TEST_PATH=./keystone/tests/functional
|
setenv = OS_TEST_PATH=./keystone/tests/functional
|
||||||
commands =
|
commands =
|
||||||
@ -123,7 +123,7 @@ max-complexity=24
|
|||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
deps =
|
deps =
|
||||||
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||||
-r{toxinidir}/doc/requirements.txt
|
-r{toxinidir}/doc/requirements.txt
|
||||||
.[ldap,memcache,mongodb]
|
.[ldap,memcache,mongodb]
|
||||||
commands=
|
commands=
|
||||||
|
Loading…
Reference in New Issue
Block a user