forked from Yelp/kafka-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox_acceptance.ini
30 lines (28 loc) · 943 Bytes
/
tox_acceptance.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
[tox]
envlist = py{27,36}-unittest, py{27,36}-kafka{10,11}-dockeritest
tox_pip_extensions_ext_pip_custom_platform = true
tox_pip_extensions_ext_venv_update = true
distdir = {toxworkdir}/dist_acceptance
[travis]
python =
py27: py27-kafka{10,11}-dockeritest
py36: py36-kafka{10,11}-dockeritest
[testenv]
deps =
-rrequirements-dev.txt
flake8
mock
acceptance: behave
whitelist_externals = /bin/bash
passenv = ITEST_PYTHON_FACTOR KAFKA_VERSION ACCEPTANCE_TAGS
setenv =
py27: ITEST_PYTHON_FACTOR = py27
py36: ITEST_PYTHON_FACTOR = py36
kafka10: KAFKA_VERSION = 0.10.1.1
kafka10: ACCEPTANCE_TAGS = ~kafka11
kafka11: KAFKA_VERSION = 1.1.0
kafka11: ACCEPTANCE_TAGS =
commands =
acceptance: /bin/bash -c 'echo "Running acceptance tests using" $({envbindir}/python --version)'
acceptance: /bin/bash -c 'env'
acceptance: /bin/bash -c 'behave tests/acceptance --tags=$ACCEPTANCE_TAGS --no-capture'