forked from floss50/brizo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
27 lines (25 loc) · 770 Bytes
/
tox.ini
File metadata and controls
27 lines (25 loc) · 770 Bytes
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
[tox]
envlist = py36, py37
[travis]
python =
3.6: py36
3.7: py37
[testenv]
whitelist_externals = cp
passenv = *
setenv =
PYTHONPATH = {toxinidir}
CONFIG_FILE = {toxinidir}/config_local.ini
deps =
-r{toxinidir}/requirements_dev.txt
; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following line:
; -r{toxinidir}/requirements.txt
commands =
cp {toxinidir}/config.ini {toxinidir}/config_local.ini
{toxinidir}/scripts/wait_for_migration_and_extract_keeper_artifacts.sh
pip install -U pip
coverage run --source brizo -m py.test -s --basetemp={envtmpdir}
coverage report
coverage xml
python-codacy-coverage -r {toxinidir}/coverage.xml