Refactoring POM's and .gitignore
[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}/requirements.txt
18         pytest
19         coverage
20         pytest-cov
21 setenv = PYTHONPATH={toxinidir}/
22
23 commands = pytest
24
25 [testenv:pep8]
26 basepython = python3
27 deps=flake8
28 commands=flake8
29
30 [flake8]
31 basepython = python3
32 show-source = true
33 exclude = env,venv,.venv,.git,.tox,dist,doc,*egg,build
34
35 [testenv:cover]
36 basepython = python3
37 commands = py.test --cov  onaplogging