Skip to content

Commit 862689f

Browse files
committed
Test against multiple librdkafka versions
1 parent cb4e0b8 commit 862689f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,8 @@ php:
55
- 5.4
66
- 5.5
77
- 5.6
8+
env:
9+
- LIBRDKAFKA_VERSION=0.8.6
10+
- LIBRDKAFKA_VERSION=0.8
11+
- LIBRDKAFKA_VERSION=master
812
script: ./travis.sh

travis.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -xe
44

5-
git clone --depth 1 --branch 0.8.6 https://github.com/edenhill/librdkafka.git
5+
git clone --depth 1 --branch "$LIBRDKAFKA_VERSION" https://github.com/edenhill/librdkafka.git
66
(
77
cd librdkafka
88
./configure

0 commit comments

Comments
 (0)