forked from berceanu/sliceplots
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
41 lines (36 loc) · 813 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
[tox]
envlist = py36, flake8
[travis]
python =
3.6: py36
[testenv:flake8]
basepython = python
deps = flake8
commands = flake8 sliceplots
[testenv]
setenv =
PYTHONPATH = {toxinidir}
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 =
pip install -U pip
pytest --cov=sliceplots --cov-append --basetemp={envtmpdir} -W once
coverage report --omit='.tox/*'
[testenv:begin]
commands =
coverage erase
depends =
skip_install = true
deps =
coverage
[testenv:end]
commands =
coverage report --omit='.tox/*'
coverage html --omit='.tox/*'
skip_install = true
depends = py36
deps =
coverage