forked from confluentinc/confluent-kafka-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
47 lines (39 loc) · 891 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
42
43
44
45
46
47
[tox]
envlist = flake8,py27,py34,py35
[testenv]
setenv =
CPPFLAGS=-I{toxinidir}/tmp-build/include
LDFLAGS=-L{toxinidir}/tmp-build/lib
C_INCLUDE_PATH={toxinidir}/tmp-build/include
LD_LIBRARY_PATH={toxinidir}/tmp-build/lib
commands =
pip install -v .
py.test -v --timeout 20 --ignore=tmp-build --import-mode append {posargs}
#python examples/integration_test.py [yourhost:yourport] confluent-kafka-testing http://yourhost:yourport
[base]
deps =
pytest
pytest-timeout
fastavro
requests
[testenv:py27]
deps =
{[base]deps}
avro
[testenv:py34]
deps =
{[base]deps}
avro-python3
[testenv:py35]
deps =
{[base]deps}
avro-python3
[testenv:flake8]
deps = flake8
commands = flake8
[pytest]
testpaths = tests
[flake8]
exclude = venv*,env,.env,.tox,.toxenv,.git,build,docs,tmp-build
max-line-length = 119
accept-encodings = utf-8