forked from gregmolnar/redis-rb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (47 loc) · 1012 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
language: ruby
cache:
directories:
- tmp/cache
before_install:
- gem update --system 2.6.14
- gem --version
script: make
rvm:
- 2.3.8
- 2.4.5
- 2.5.3
- jruby-9.1.17.0
gemfile: ".travis/Gemfile"
sudo: false
before_script:
- if (ruby -e "exit RUBY_VERSION.to_f >= 2.4"); then export RUBYOPT="--enable-frozen-string-literal"; fi; echo $RUBYOPT
env:
global:
- VERBOSE=true
- TIMEOUT=30
- LOW_TIMEOUT=0.01
matrix:
- DRIVER=ruby REDIS_BRANCH=5.0
- DRIVER=hiredis REDIS_BRANCH=5.0
- DRIVER=synchrony REDIS_BRANCH=5.0
branches:
only:
- staging
- trying
- master
matrix:
exclude:
- rvm: jruby-9.1.17.0
include:
- rvm: jruby-9.1.17.0
env: DRIVER=ruby REDIS_BRANCH=5.0 LOW_TIMEOUT=0.3
- rvm: 2.3.8
env: DRIVER=ruby REDIS_BRANCH=3.0
- rvm: 2.3.8
env: DRIVER=ruby REDIS_BRANCH=3.2
- rvm: 2.3.8
env: DRIVER=ruby REDIS_BRANCH=4.0
notifications:
irc:
- irc.freenode.net#redis-rb
email: false