forked from faif/python-patterns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
42 lines (36 loc) · 1.02 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
[tox]
envlist = ci27,ci36,ci37,cov-report
[testenv]
setenv =
COVERAGE_FILE = .coverage.{envname}
[testenv:ci27]
basepython = python2.7
deps =
-r requirements-dev.txt
commands =
flake8 --exclude="*__py3.py" patterns/
pytest --doctest-modules --ignore-glob="*__py3.py" patterns/
pytest -s -vv --cov={envsitepackagesdir}/patterns --log-level=INFO tests/
[testenv:ci36]
basepython = python3.6
deps =
-r requirements-dev.txt
commands =
flake8 --exclude="*__py2.py" patterns/
pytest --doctest-modules --ignore-glob="*__py2.py" patterns/
pytest -s -vv --cov={envsitepackagesdir}/patterns --log-level=INFO tests/
[testenv:ci37]
basepython = python3.7
deps =
-r requirements-dev.txt
commands =
flake8 --exclude="*__py2.py" patterns/
pytest --doctest-modules --ignore-glob="*__py2.py" patterns/
pytest -s -vv --cov={envsitepackagesdir}/patterns --log-level=INFO tests/
[testenv:cov-report]
setenv =
COVERAGE_FILE = .coverage
deps = coverage
commands =
coverage combine
coverage report