aboutsummaryrefslogtreecommitdiffstats
path: root/pylog/tox.ini
blob: 355385c6442c9cb36909eb44f2f2ed35f0b2f025 (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
[tox]
envlist =
    py27
    py36
    py37
    py38
    pep8
    cover
skipsdist = true
skip_missing_interpreters = true

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

[testenv]
deps = -r{toxinidir}/test_requirements.txt
        coverage
        pytest-cov
setenv = PYTHONPATH={toxinidir}/
commands = pytest

[flake8]
ignore = E271, E125, E128, E127

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

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