Skip to content

Commit 6da127c

Browse files
committed
CI: enable testing with real Redis server
1 parent 203b4fb commit 6da127c

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.ci/run.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
# This is intended to be run inside the docker container as the command of the docker-compose.
3+
4+
env
5+
6+
set -ex
7+
8+
export KAFKA_VERSION=2.3.0
9+
./kafka_test_setup.sh
10+
11+
jruby -rbundler/setup -S rspec -fd
12+
jruby -rbundler/setup -S rspec -fd --tag integration
13+
14+
./kafka_test_teardown.sh

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
import:
2-
- logstash-plugins/.ci:travis/[email protected]
2+
- logstash-plugins/.ci:travis/[email protected]
3+
4+
services:
5+
- redis-server

0 commit comments

Comments
 (0)