forked from kubernetes-client/python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
49 lines (40 loc) · 1.04 KB
/
tox.ini
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[tox]
envlist = py27, py34, 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