add pypy to the bindep "test" profile

According to the bindep docs
(http://docs.openstack.org/infra/bindep/readme.html#profiles),
we can specify profiles for each entry listed.

Also added a bindep env to tox.ini.

Change-Id: Ifb59d3ef2934c3d72ba84b337c38bb7eb14774bb
This commit is contained in:
John Dickinson 2016-09-23 13:01:07 -07:00
parent a9f21662df
commit 46937f8620
2 changed files with 11 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# This is a cross-platform list tracking distribution packages needed by tests;
# see http://docs.openstack.org/infra/bindep/ for additional information.
pypy
pypy-dev
pypy [test]
pypy-dev [test]

View File

@ -56,3 +56,12 @@ commands=
ignore = H101,H301,H306,H401,H403,H404,H405
show-source = True
exclude = .venv,.tox,dist,doc,*egg
[testenv:bindep]
# Do not install any requirements. We want this to be fast and work even if
# system dependencies are missing, since it's used to tell you what system
# dependencies are missing! This also means that bindep must be installed
# separately, outside of the requirements files.
usedevelop = False
deps = bindep
commands = bindep test