summaryrefslogtreecommitdiffstats
path: root/tox.ini
blob: fa9b95b31a3178f2daca077207268087fbe59a2b (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
[tox]
skipsdist=True
envlist = py3,style
setupdir = imagescanner/

[testenv]
distribute = False
commands =
   {envpython} --version
    pytest --version
    pytest --cov imagescanner --cov-report=xml --cov-report=term --verbose
deps = -rrequirements.txt
    flake8
    pytest-cov
    pytest

[testenv:style]
basepython=python3.6
commands =  python --version
            python -m flake8

[testenv:py3]
basepython=python3.6

[flake8]
show-source = True
exclude=venv-tox,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build