Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c16bdb4

Browse files
committed
install librdkafka locally
1 parent c8e6c56 commit c16bdb4

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ install:
6868
- echo "memory_limit=2048M" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
6969
- php ./bin/fix-symfony-version.php "$SYMFONY_VERSION"
7070
- composer install
71+
- ./bin/install-librdkafka.sh
7172
- if [ "$PREPARE_CONTAINER" = true ]; then docker --version; fi
7273
- if [ "$PREPARE_CONTAINER" = true ]; then docker-compose --version; fi
7374
- if [ "$PREPARE_CONTAINER" = true ]; then bin/dev -b; fi

bin/install-librdkafka.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env bash
2+
git clone --depth 1 --branch v1.0.0 https://github.com/edenhill/librdkafka.git
3+
cd librdkafka
4+
./configure
5+
make
6+
sudo make install

bin/test.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33
set -x
44
set -e
55

6-
docker pull enqueue/dev
76
docker-compose run --workdir="/mqdev" --rm dev ./docker/bin/test.sh $@

0 commit comments

Comments
 (0)