-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathtox.ini
44 lines (36 loc) · 823 Bytes
/
tox.ini
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
35
36
37
38
39
40
41
42
43
[tox]
envlist = py27,docs
[testenv:py27]
commands = {toxinidir}/scripts/check_style.sh
flake8
pytest -vvv \
--junit-xml=lago.junit.xml \
--cov {envsitepackagesdir}/ovirtlago \
--cov-report html \
--cov-report term \
--cov-report xml \
tests/unit
deps =
-r{toxinidir}/test-requires.txt
whitelist_externals = /bin/bash
[testenv:docs]
changedir = docs
commands = make clean
make html
deps =
-r{toxinidir}/docs/docs-requires.txt
whitelist_externals = make
/bin/bash
skip_install=True
[flake8]
exclude =
.eggs/,
.tox/,
.git/,
*.pyc,
docs/,
exported-artifacts/
show_source = True
statistics = True
output-file = flake8.txt
tee = True