-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
38 lines (30 loc) · 921 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
[tox]
envlist = py34,py35,py36
skip_missing_interpreters = True
[testenv]
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/reqs/requirements-tests.txt
#usedevelop = true
commands = {envpython} -m pytest {posargs}
[testenv:venv]
basepython = python3
envdir = {toxinidir}/.venv
commands = {envpython} -c ""
deps = -r{toxinidir}/requirements.txt
[testenv:dev]
basepython = {[testenv:venv]basepython}
commands = {[testenv:venv]commands}
deps = {[testenv:venv]deps}
envdir = {toxinidir}/.venv_dev
usedevelop = true
# Python 3.4 is special there's no PyQt5 and SIP for it on PIP
[testenv:py34]
basepython = python3.4
sitepackages = True
deps = {[testenv]deps}
commands = {[testenv]commands}
[testenv:coverage]
basepython = python3
deps = {[testenv]deps}
-r{toxinidir}/reqs/requirements-coverage.txt
commands = {envpython} -m pytest --cov=subconvert --cov-report xml --cov-report term --cov-report html