summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTaras <voyn1991@gmail.com>2018-03-18 15:56:47 +0200
committerDana Powers <dana.powers@gmail.com>2018-04-18 13:51:07 -0700
commit908ac8f8d253b20d70e36ce4bae1aefb51769221 (patch)
tree844aca7543b3b57e17b12d5f55f6cffa0e89f73b /Makefile
parentd9e41c8e8fb7033a3e9a9a7654bc2b0125f337a0 (diff)
downloadkafka-python-908ac8f8d253b20d70e36ce4bae1aefb51769221.tar.gz
Add codec validators to record parser and builder for all formats (#1447)
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