Skip to content

Commit

Permalink
Merge pull request kubernetes-client#970 from Jamim/feature/python3.8…
Browse files Browse the repository at this point in the history
…-tests

Enable testing for Python 3.8
  • Loading branch information
k8s-ci-robot authored Oct 16, 2019
2 parents 9c205e6 + 4d85892 commit ca4f311
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 22 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ matrix:
env: TOXENV=py37
- python: 3.7
env: TOXENV=py37-functional
- python: 3.8
env: TOXENV=py38
- python: 3.8
env: TOXENV=py38-functional

install:
- pip install tox
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,6 @@
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
)
27 changes: 5 additions & 22 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
[tox]
envlist = py27, py35, py36, py37
envlist =
py27, py3{5,6,7,8}
py27-functional, py3{5,6,7,8}-functional

[testenv]
passenv = TOXENV CI TRAVIS TRAVIS_*
Expand All @@ -9,7 +11,8 @@ deps = -r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
commands =
python -V
pytest -vvv -s --ignore=kubernetes/e2e_test
!functional: pytest -vvv -s --ignore=kubernetes/e2e_test
functional: {toxinidir}/scripts/kube-init.sh pytest -vvv -s []

[testenv:docs]
commands =
Expand All @@ -19,26 +22,6 @@ commands =
commands =
{toxinidir}/scripts/update-pycodestyle.sh

[testenv:py27-functional]
commands =
python -V
{toxinidir}/scripts/kube-init.sh pytest -vvv -s []

[testenv:py35-functional]
commands =
python -V
{toxinidir}/scripts/kube-init.sh pytest -vvv -s []

[testenv:py36-functional]
commands =
python -V
{toxinidir}/scripts/kube-init.sh pytest -vvv -s []

[testenv:py37-functional]
commands =
python -V
{toxinidir}/scripts/kube-init.sh pytest -vvv -s []

[testenv:coverage]
commands =
python -V
Expand Down

0 comments on commit ca4f311

Please sign in to comment.