forked from kubernetes-client/python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
26 lines (23 loc) · 699 Bytes
/
tox.ini
File metadata and controls
26 lines (23 loc) · 699 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[tox]
envlist =
py3{6,7,8,9}
py3{6,7,8,9}-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 {env:_TOX_COVERAGE_RUN:} --ignore=kubernetes/e2e_test
functional: {toxinidir}/scripts/kube-init.sh pytest -vvv -s []
coverage: python -m coverage xml
setenv =
coverage: _TOX_COVERAGE_RUN=--cov=kubernetes/watch --cov=kubernetes/config
[testenv:docs]
commands =
python setup.py build_sphinx
[testenv:update-pycodestyle]
commands =
{toxinidir}/scripts/update-pycodestyle.sh