Pylog test suite
[logging-analytics.git] / pylog / tox.ini
1 [tox]
2 envlist =
3     testenv,
4     jenkins,
5     pep8
6     flake8
7     cover
8 skipsdist = true
9 skip_missing_interpreters = true
10
11 [tox:jenkins]
12 basepython = python3
13 downloadcache = ~/cache/pip
14
15 [testenv]
16 basepython = python3
17 deps = -r{toxinidir}/test_requirements.txt
18         coverage
19         pytest-cov
20 setenv = PYTHONPATH={toxinidir}/
21
22 commands = pytest
23
24 [testenv:pep8]
25 basepython = python3
26 deps=flake8
27 commands=flake8 onaplogging
28
29 [flake8]
30 basepython = python3
31 show-source = true
32 exclude = env,venv,.venv,.git,.tox,dist,doc,*egg,build
33
34 [testenv:cover]
35 basepython = python3
36 commands = py.test --cov-report term-missing --cov onaplogging