File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,14 @@ gemfile:
16
16
- .travis/Gemfile
17
17
18
18
env :
19
- - conn=ruby REDIS_BRANCH=2.6
20
- - conn=hiredis REDIS_BRANCH=2.6
21
- - conn=synchrony REDIS_BRANCH=2.6
22
- - conn=ruby REDIS_BRANCH=2.8
23
- - conn=ruby REDIS_BRANCH=unstable
19
+ global :
20
+ - TIMEOUT=1
21
+ matrix :
22
+ - conn=ruby REDIS_BRANCH=2.6
23
+ - conn=hiredis REDIS_BRANCH=2.6
24
+ - conn=synchrony REDIS_BRANCH=2.6
25
+ - conn=ruby REDIS_BRANCH=2.8
26
+ - conn=ruby REDIS_BRANCH=unstable
24
27
25
28
matrix :
26
29
exclude :
Original file line number Diff line number Diff line change 22
22
require "support/connection/#{ ENV [ "conn" ] } "
23
23
24
24
PORT = 6381
25
- OPTIONS = { :port => PORT , :db => 15 , :timeout => 0.1 }
25
+ OPTIONS = { :port => PORT , :db => 15 , :timeout => Float ( ENV [ "TIMEOUT" ] || 0.1 ) }
26
26
NODES = [ "redis://127.0.0.1:#{ PORT } /15" ]
27
27
28
28
def init ( redis )
You can’t perform that action at this time.
0 commit comments