python/tox.ini
Davanum Srinivas 96cfceb2f0 Run e2e tests against against https url
Use hitch tls proxy to listen on 8443 port and forward the
traffic to 8080. Add a configuration option to ignore any
issues with host names as we don't generate the cert on the
fly.
2017-02-03 12:16:58 -05:00

39 lines
748 B
INI

[tox]
envlist = py27, py34, py35
[testenv]
passenv = TOXENV CI TRAVIS TRAVIS_*
usedevelop = True
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/test-requirements.txt
commands =
python -V
nosetests []
[testenv:docs]
commands =
python setup.py build_sphinx
[testenv:update-pep8]
commands =
{toxinidir}/scripts/update-pep8.sh
[testenv:py27-functional]
commands =
python -V
{toxinidir}/scripts/kube-init.sh nosetests -v []
[testenv:py35-functional]
commands =
python -V
{toxinidir}/scripts/kube-init.sh nosetests -v []
[testenv:coverage]
commands =
python -V
nosetests --with-coverage --cover-package=kubernetes.config,kubernetes.watch --cover-tests
[testenv:codecov]
commands =
codecov