forked from lago-project/lago
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
53 lines (44 loc) · 1019 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
44
45
46
47
48
49
50
51
52
[tox]
envlist = py27,docs
[testenv:py27]
passenv=PIP_CACHE_DIR
commands = {toxinidir}/scripts/check_style.sh
flake8
pytest -vvv \
--junit-xml=lago.junit.xml \
--cov {envsitepackagesdir}/lago \
--cov-report html \
--cov-report term \
--cov-report xml \
tests/unit
deps =
-r{toxinidir}/test-requires.txt
whitelist_externals = /bin/bash
[testenv:sdist]
passenv=PIP_CACHE_DIR
deps =
{toxinidir}/exported-artifacts/lago*.tar.gz
commands = lago --version
whitelist_externals = /bin/bash
[testenv:docs]
passenv=PIP_CACHE_DIR HOME
skip_install=True
changedir = docs
commands = make clean
make html
deps =
-r{toxinidir}/docs/docs-requires.txt
whitelist_externals = make
/bin/bash
[flake8]
exclude =
.eggs/,
.tox/,
.git/,
*.pyc,
docs/,
exported-artifacts/
show_source = True
statistics = True
output-file = flake8.txt
tee = True