Skip to content

Commit 934e998

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

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+
sudo service redis-server stop
9+
10+
jruby -rbundler/setup -S rspec -fd
11+
12+
sudo service redis-server start
13+
14+
jruby -rbundler/setup -S rspec -fd --tag redis

.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/travis.yml@1.x
2+
- logstash-plugins/.ci:travis/travis.yml@1.x
3+
4+
services:
5+
- redis-server

0 commit comments

Comments
 (0)