blob: a47f58c8c8e71f69c96818e27a18e5b35463d2ac (
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
|
[tox]
envlist =py,py27,pep8
skipsdist = true
skip_missing_interpreters = true
[tox:jenkins]
downloadcache = ~/cache/pip
[testenv]
deps = -r{toxinidir}/requirements.txt
pytest
coverage
pytest-cov
setenv = PYTHONPATH={toxinidir}/
commands =
/usr/bin/find . -type f -name "*.py[c|o]" -delete
py.test
[testenv:pep8]
deps=flake8
commands=flake8
[flake8]
show-source = true
exclude = env,venv,.venv,.git,.tox,dist,doc,*egg,build
[testenv:py27]
commands =
{[testenv]commands}
[testenv:cover]
commands = py.test --cov onaplogging
|