aboutsummaryrefslogtreecommitdiffstats
path: root/pylog/tox.ini
blob: 87209a16af421488c4d8ab8de0038b9027fde053 (plain)
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
[tox]
envlist =
    testenv,
    jenkins,
    pep8
    flake8
    cover
skipsdist = true
skip_missing_interpreters = true

[tox:jenkins]
basepython = python3
downloadcache = ~/cache/pip

[testenv]
basepython = python3
deps = -r{toxinidir}/requirements.txt
        pytest
        coverage
        pytest-cov
setenv = PYTHONPATH={toxinidir}/

commands = pytest

[testenv:pep8]
basepython = python3
deps=flake8
commands=flake8

[flake8]
basepython = python3
show-source = true
exclude = env,venv,.venv,.git,.tox,dist,doc,*egg,build

[testenv:cover]
basepython = python3
commands = py.test --cov  onaplogging