python/tox.ini
Aliaksei Urbanski 4d858922f1 Enable testing for Python 3.8
Python 3.8 is there, so I believe that it would be nice
to declare support and add tests for it on CI.

Python 3.8.0 release announcement:
https://discuss.python.org/t/python-3-8-0-is-now-available/2478
2019-10-16 23:50:01 +03:00

33 lines
751 B
INI

[tox]
envlist =
py27, py3{5,6,7,8}
py27-functional, py3{5,6,7,8}-functional
[testenv]
passenv = TOXENV CI TRAVIS TRAVIS_*
usedevelop = True
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
commands =
python -V
!functional: pytest -vvv -s --ignore=kubernetes/e2e_test
functional: {toxinidir}/scripts/kube-init.sh pytest -vvv -s []
[testenv:docs]
commands =
python setup.py build_sphinx
[testenv:update-pycodestyle]
commands =
{toxinidir}/scripts/update-pycodestyle.sh
[testenv:coverage]
commands =
python -V
pytest --cov=kubernetes/watch --cov=kubernetes/config kubernetes/watch kubernetes/config
[testenv:codecov]
commands =
codecov