Skip to content

Commit

Permalink
Merge pull request kubernetes-client#685 from micw523/update-tox
Browse files Browse the repository at this point in the history
Support Python 3.7 for Travis CI
  • Loading branch information
k8s-ci-robot authored Nov 13, 2018
2 parents dca998c + de9b187 commit 35e6406
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ matrix:
env: TOXENV=py36
- python: 3.6
env: TOXENV=py36-functional
- python: 3.7
env: TOXENV=py37
- python: 3.7
env: TOXENV=py37-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.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
)
7 changes: 6 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27, py34, py35, py36
envlist = py27, py34, py35, py36, py37

[testenv]
passenv = TOXENV CI TRAVIS TRAVIS_*
Expand Down Expand Up @@ -34,6 +34,11 @@ commands =
python -V
{toxinidir}/scripts/kube-init.sh py.test -vvv -s []

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

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

0 comments on commit 35e6406

Please sign in to comment.