forked from box/etcdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
27 lines (22 loc) · 690 Bytes
/
tox.ini
File metadata and controls
27 lines (22 loc) · 690 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 = py26, py27, flake8, cov
[testenv:flake8]
basepython=python
deps=flake8
ignore = E402
commands=flake8 --max-line-length=120 --ignore=E402 --exclude=etcdb/sqlparser/* etcdb
[testenv:cov]
deps=-rrequirements_dev.txt
commands=py.test --cov=etcdb --cov-report term-missing tests/unit
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/etcdb
deps =
-r{toxinidir}/requirements_dev.txt
commands =
pip install -U pip
py.test --basetemp={envtmpdir} tests/unit
; 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 lines:
; deps =
; -r{toxinidir}/requirements.txt