-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtox.ini
50 lines (44 loc) · 1.05 KB
/
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
[tox]
envlist = clean, style, {py27,py33,py34,py35}-{pinned,unpinned}, stats
[testenv:style]
skip_install = True
deps = flake8
commands = flake8 --ignore=E501 --exclude=setup.py .
basepython = python2.7
[testenv:clean]
skip_install = True
changedir={toxinidir}
deps =
coverage
commands=
coverage erase
[testenv:stats]
skip_install = True
changedir={toxinidir}
deps =
coverage
commands=
coverage combine
coverage report
coverage html
[testenv]
whitelist_externals = sh
changedir=tests
passenv = *
deps =
coveralls
coverage
pytest
commands =
sh -c "which python"
sh -c "which coverage"
python -V
pip --version
pinned: pip install --ignore-installed -r {toxinidir}/requirements.txt
python -c "import setuptools; print('setuptools-%s' % setuptools.__version__)"
coverage --version
coverage run --rcfile={toxinidir}/.coveragerc --source=pylioness -m pytest -vs {toxinidir}/tests
setenv =
COVERAGE_PROCESS_START = {toxinidir}/.coveragerc
COVERAGE_FILE = {toxinidir}/.coverage
{py27,py33,py34,py35}: CB_FULLTESTS = 1