-
-
Notifications
You must be signed in to change notification settings - Fork 134
/
.travis.yml
56 lines (56 loc) · 1.46 KB
/
.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: bundler
before_install:
- gem update --system
- gem install bundler
before_script:
- mysql -e 'create database ranked_model_test;'
- psql -c 'create database ranked_model_test;' -U postgres
rvm:
- 2.4
- 2.5
- 2.6
- 2.7
- 3.0
- jruby-9.1.17.0
env:
- DB=sqlite
- DB=mysql
- DB=postgresql
services:
- mysql
- postgresql
gemfile:
- gemfiles/rails_4_2.gemfile
- gemfiles/rails_5_0.gemfile
- gemfiles/rails_5_1.gemfile
- gemfiles/rails_5_2.gemfile
- gemfiles/rails_6_0.gemfile
- gemfiles/rails_6_1.gemfile
matrix:
exclude:
# Rails <6 does not support Ruby 3, see:
# https://github.com/rails/rails/issues/40938#issuecomment-751898275
- rvm: 3.0
gemfile: gemfiles/rails_4_2.gemfile
- rvm: 3.0
gemfile: gemfiles/rails_5_0.gemfile
- rvm: 3.0
gemfile: gemfiles/rails_5_1.gemfile
- rvm: 3.0
gemfile: gemfiles/rails_5_2.gemfile
# Ruby ≥2.7 uses a `bigdecimal` version that doesn't support BigDecimal.new
# that Rails 4.2 uses. See also:
# https://github.com/ruby/bigdecimal#which-version-should-you-select
- rvm: 2.7
gemfile: gemfiles/rails_4_2.gemfile
- rvm: jruby-9.1.17.0
gemfile: gemfiles/rails_5_2.gemfile
- rvm: 2.4
gemfile: gemfiles/rails_6_0.gemfile
- rvm: jruby-9.1.17.0
gemfile: gemfiles/rails_6_0.gemfile
- rvm: 2.4
gemfile: gemfiles/rails_6_1.gemfile
- rvm: jruby-9.1.17.0
gemfile: gemfiles/rails_6_1.gemfile