Merge "Drop py35 tests"

This commit is contained in:
Zuul 2019-04-26 02:28:07 +00:00 committed by Gerrit Code Review
commit f7f5df9c1d
4 changed files with 7 additions and 10 deletions

View File

@ -17,7 +17,6 @@
- openstack-cover-jobs
- openstack-lower-constraints-jobs
- openstack-python-jobs
- openstack-python35-jobs
- openstack-python36-jobs
- openstack-python37-jobs
- publish-openstack-docs-pti

View File

@ -11,14 +11,14 @@ test targets that can be run to validate the code.
``tox -e py27``
Traditional unit testing (Python 2.7).
``tox -e py35``
Traditional unit testing (Python 3.5).
``tox -e py36``
Traditional unit testing (Python 3.6).
``tox -e functional``
Live functional testing against an existing OpenStack instance. (Python 2.7)
``tox -e functional-py35``
Live functional testing against an existing OpenStack instance. (Python 3.5)
``tox -e functional-py36``
Live functional testing against an existing OpenStack instance. (Python 3.6)
``tox -e cover``
Generate a coverage report on unit testing.

View File

@ -19,7 +19,6 @@ classifier =
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
[files]

View File

@ -1,6 +1,5 @@
# noted to use py35 you need virtualenv >= 1.11.4
[tox]
envlist = py35,py27,pep8,docs
envlist = py36,py27,pep8,docs
minversion = 2.0
skipsdist = True
@ -66,8 +65,8 @@ commands =
stestr --test-path=./novaclient/tests/functional run --concurrency=1 {posargs}
python novaclient/tests/functional/hooks/check_resources.py
[testenv:functional-py35]
basepython = python3.5
[testenv:functional-py36]
basepython = python3.6
passenv = OS_NOVACLIENT_TEST_NETWORK
commands =
stestr --test-path=./novaclient/tests/functional run --concurrency=1 {posargs}