-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
39 lines (35 loc) · 902 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
[tox]
envlist = py27-nocover, py27, pep8
skip_missing_interpreters = True
[testenv]
usedevelop = True
basepython = py27: python2.7
setenv =
PYTHONPATH={toxinidir}/tests/
PYTHONUNBUFFERED=yes
install_command = pip install --allow-external --process-dependency-links -U {opts} {packages}
deps =
coverage
nose
commands =
pip install http://iweb.dl.sourceforge.net/project/ceodbc/2.0.1/ceODBC-2.0.1.tar.gz
coverage erase
nosetests --with-coverage --cover-package=dbseeder --cover-erase
[testenv:py27-nocover]
usedevelop = False
sitepackages = True
commands =
pip install http://iweb.dl.sourceforge.net/project/ceodbc/2.0.1/ceODBC-2.0.1.tar.gz
nosetests
deps = nose
[testenv:pep8]
basepython = python2.7
usedevelop = False
changedir = src
commands = flake8 dbseeder
deps = flake8
[flake8]
max-line-length = 160
max-complexity = 15
exclude = tests/*
show-source = True