summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTaras <voyn1991@gmail.com>2018-03-18 15:56:47 +0200
committerTaras <voyn1991@gmail.com>2018-03-18 15:56:47 +0200
commitef955155f89e9a665a4b636e4535d7b50fce869d (patch)
treecfe10509abaa41d0efa9f841d3a4aa4e7558ec81 /Makefile
parent18e48dce240eaa7cf714c780c02d1d5cf0b8fca2 (diff)
downloadkafka-python-fix_records.tar.gz
Add codec validators to record parser and builder for all formats.fix_records
Also removed `decorator` dependency on tests Fixes #1443
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 5f80ccd..7dfd305 100644
--- a/Makefile
+++ b/Makefile
@@ -23,11 +23,13 @@ test27: build-integration
# Test using py.test directly if you want to use local python. Useful for other
# platforms that require manual installation for C libraries, ie. Windows.
test-local: build-integration
- py.test --pylint --pylint-rcfile=pylint.rc --pylint-error-types=EF kafka test
+ KAFKA_VERSION=$(KAFKA_VERSION) SCALA_VERSION=$(SCALA_VERSION) py.test \
+ --pylint --pylint-rcfile=pylint.rc --pylint-error-types=EF $(FLAGS) kafka test
cov-local: build-integration
- py.test --pylint --pylint-rcfile=pylint.rc --pylint-error-types=EF --cov=kafka \
- --cov-config=.covrc --cov-report html kafka test
+ KAFKA_VERSION=$(KAFKA_VERSION) SCALA_VERSION=$(SCALA_VERSION) py.test \
+ --pylint --pylint-rcfile=pylint.rc --pylint-error-types=EF --cov=kafka \
+ --cov-config=.covrc --cov-report html $(FLAGS) kafka test
@echo "open file://`pwd`/htmlcov/index.html"
# Check the readme for syntax errors, which can lead to invalid formatting on