File tree 1 file changed +11
-6
lines changed
1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change 1
1
# Some simple testing tasks (sorry, UNIX only).
2
2
3
3
FLAGS =
4
- KAFKA_VERSION =0.11.0.0
5
- SCALA_VERSION =2.11
4
+ KAFKA_VERSION =0.11.0.1
5
+ SCALA_VERSION =2.12
6
6
7
7
setup :
8
8
pip install -r requirements-dev.txt
9
9
pip install -Ue .
10
10
11
+ servers/$(KAFKA_VERSION ) /kafka-bin :
12
+ KAFKA_VERSION=$(KAFKA_VERSION ) SCALA_VERSION=$(SCALA_VERSION ) ./build_integration.sh
13
+
14
+ build-integration : servers/$(KAFKA_VERSION ) /kafka-bin
15
+
11
16
# Test and produce coverage using tox. This is the same as is run on Travis
12
- test36 :
17
+ test36 : build-integration
13
18
KAFKA_VERSION=$(KAFKA_VERSION ) SCALA_VERSION=$(SCALA_VERSION ) tox -e py36 -- $(FLAGS )
14
19
15
- test27 :
20
+ test27 : build-integration
16
21
KAFKA_VERSION=$(KAFKA_VERSION ) SCALA_VERSION=$(SCALA_VERSION ) tox -e py27 -- $(FLAGS )
17
22
18
23
# Test using py.test directly if you want to use local python. Useful for other
19
24
# platforms that require manual installation for C libraries, ie. Windows.
20
- test-local :
25
+ test-local : build-integration
21
26
py.test --pylint --pylint-rcfile=pylint.rc --pylint-error-types=EF kafka test
22
27
23
- cov-local :
28
+ cov-local : build-integration
24
29
py.test --pylint --pylint-rcfile=pylint.rc --pylint-error-types=EF --cov=kafka \
25
30
--cov-config=.covrc --cov-report html kafka test
26
31
@echo " open file://` pwd` /htmlcov/index.html"
You can’t perform that action at this time.
0 commit comments