diff options
author | Stephen Finucane <sfinucan@redhat.com> | 2018-07-05 11:39:15 +0100 |
---|---|---|
committer | Stephen Finucane <sfinucan@redhat.com> | 2018-07-18 10:12:17 +0100 |
commit | 2222dbb47e42d9518330cda6b6d5a2e2be308c2f (patch) | |
tree | ce98630708503c24d247be21aab32d18dc2777ea /tox.ini | |
parent | 915e62ef7b1af4f3449457af1dbb77b0d11635f3 (diff) | |
download | pbr-2222dbb47e42d9518330cda6b6d5a2e2be308c2f.tar.gz |
Switch to stestr
According to Openstack summit session [1], stestr is maintained project
to which all Openstack projects should migrate. Let's switch to stestr
as other projects have already moved to it.
While we're at it, we also fix the docs requirements and removed the
unused 'pypy' and 'cover' tox targets.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: I424068adc9092be2cf40d117c9dc4e92bb51e804
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 20 |
1 files changed, 6 insertions, 14 deletions
@@ -1,19 +1,15 @@ [tox] minversion = 2.0 -envlist = py35,py36,py27,pypy,pep8,docs +envlist = py{27,35,36},pep8,docs [testenv] usedevelop = True install_command = pip install {opts} {packages} passenv = PBR_INTEGRATION PIPFLAGS PIPVERSION PBRVERSION REPODIR WHEELHOUSE PROJECTS OS_TEST_TIMEOUT OS_STDOUT_CAPTURE OS_STDERR_CAPTURE deps = - -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} - -r{toxinidir}/test-requirements.txt -commands = - python setup.py test --testr-args='{posargs}' - -[tox:jenkins] -sitepackages = True + -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} + -r{toxinidir}/test-requirements.txt +commands = stestr run {posargs} [testenv:pep8] basepython = python3 @@ -21,19 +17,16 @@ commands = flake8 {posargs} [testenv:docs] basepython = python3 +deps = -r{toxinidir}/doc/requirements.txt commands = python setup.py build_sphinx [testenv:releasenotes] basepython = python3 +deps = -r{toxinidir}/doc/requirements.txt commands = rm -rf releasenotes/build sphinx-build -W -b html -d releasenotes/build/doctrees releasenotes/source releasenotes/build/html -[testenv:cover] -basepython = python3 -commands = - python setup.py test --coverage - [testenv:venv] basepython = python3 commands = {posargs} @@ -51,4 +44,3 @@ basepython = python3 deps = -c{toxinidir}/lower-constraints.txt -r{toxinidir}/test-requirements.txt - |