]> git.proxmox.com Git - ceph.git/blame - ceph/src/ceph-detect-init/tox.ini
update sources to v12.2.5
[ceph.git] / ceph / src / ceph-detect-init / tox.ini
CommitLineData
7c673cae
FG
1[tox]
2envlist = pep8,py27,py3
3skip_missing_interpreters = True
4
5[testenv]
6basepython =
7 py27: python2.7
8 py3: python3
9setenv = VIRTUAL_ENV={envdir}
10usedevelop = true
11deps =
12 {env:NO_INDEX:}
7c673cae
FG
13 --find-links=file://{toxinidir}/wheelhouse
14 -r{toxinidir}/requirements.txt
15 -r{toxinidir}/test-requirements.txt
16
17commands = coverage run --source=ceph_detect_init {envbindir}/py.test -v tests
18 coverage report --show-missing --fail-under=100
19
20[testenv:pep8]
21basepython = python2
22commands = flake8 ceph_detect_init tests
23
24[testenv:integration]
25basepython = python2
26setenv = VIRTUAL_ENV={envdir}
27deps = -r{toxinidir}/requirements.txt
28 -r{toxinidir}/test-requirements.txt
29
30commands = {envbindir}/py.test -v integration/test_main.py