Merge "Modify tox tests to respect upper-constraints.txt" into stable/mitaka
This commit is contained in:
commit
e13bfbe9f5
13
tox.ini
13
tox.ini
|
@ -14,8 +14,11 @@ commands =
|
|||
coverage report -m
|
||||
|
||||
[testenv:cover]
|
||||
# TODO(kfarr): remove once infra supports constraints for this target
|
||||
install_command = pip install -U {opts} {packages}
|
||||
deps =
|
||||
{[testenv]deps}
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
diff_cover
|
||||
commands =
|
||||
python setup.py testr --coverage --testr-args='{posargs}'
|
||||
|
@ -24,6 +27,8 @@ commands =
|
|||
diff-cover --fail-under 100 coverage.xml
|
||||
|
||||
[testenv:releasenotes]
|
||||
# TODO(kfarr): remove once infra supports constraints for this target
|
||||
install_command = pip install -U {opts} {packages}
|
||||
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||
|
||||
[testenv:py34]
|
||||
|
@ -70,6 +75,8 @@ commands =
|
|||
bandit -r barbican -x tests -n5
|
||||
|
||||
[testenv:venv]
|
||||
# TODO(kfarr): remove once infra supports constraints for this target
|
||||
install_command = pip install -U {opts} {packages}
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:debug]
|
||||
|
@ -85,6 +92,8 @@ commands =
|
|||
flake8 barbican setup.py
|
||||
|
||||
[testenv:docs]
|
||||
# TODO(kfarr): remove once infra supports constraints for this target
|
||||
install_command = pip install -U {opts} {packages}
|
||||
commands=
|
||||
rm -rf api-guide/build
|
||||
python setup.py build_sphinx
|
||||
|
@ -93,6 +102,8 @@ commands=
|
|||
[testenv:api-guide]
|
||||
# This environment is called from CI scripts to test and publish
|
||||
# the API Guide to developer.openstack.org.
|
||||
# TODO(kfarr): remove once infra supports constraints for this target
|
||||
install_command = pip install -U {opts} {packages}
|
||||
commands =
|
||||
sphinx-build -W -b html -d api-guide/build/doctrees api-guide/source api-guide/build/html
|
||||
|
||||
|
|
Loading…
Reference in New Issue