python/tox.ini
Oz N Tiram e8fd4b9af9 Drop Python3.4
Python3.4 become EOL on 2019.03.18.

 https://www.python.org/dev/peps/pep-0429/
2019-04-05 21:20:48 +02:00

50 lines
1.0 KiB
INI

[tox]
envlist = py27, py35, py36, py37
[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
py.test -vvv -s --ignore=kubernetes/e2e_test
[testenv:docs]
commands =
python setup.py build_sphinx
[testenv:update-pycodestyle]
commands =
{toxinidir}/scripts/update-pycodestyle.sh
[testenv:py27-functional]
commands =
python -V
{toxinidir}/scripts/kube-init.sh py.test -vvv -s []
[testenv:py35-functional]
commands =
python -V
{toxinidir}/scripts/kube-init.sh py.test -vvv -s []
[testenv:py36-functional]
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
nosetests --with-coverage --cover-package=kubernetes.config,kubernetes.watch --cover-tests
[testenv:codecov]
commands =
codecov