forked from citusdata/activerecord-multi-tenant
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
46 lines (38 loc) · 890 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
sudo: required
cache: bundler
language: ruby
rvm:
- 2.5.9
- 2.6.9
- 2.7.5
gemfile:
- gemfiles/rails_5.2.gemfile
- gemfiles/rails_6.0.gemfile
- gemfiles/rails_6.1.gemfile
- gemfiles/rails_7.0.gemfile
- gemfiles/active_record_5.2.gemfile
- gemfiles/active_record_6.0.gemfile
- gemfiles/active_record_6.1.gemfile
- gemfiles/active_record_7.0.gemfile
env:
- PREPARED_STATEMENTS=0
- PREPARED_STATEMENTS=1
matrix:
fast_finish: true
exclude:
# Rails7 supports only >= 2.7.0
- rvm: 2.5.9
gemfile: gemfiles/rails_7.0.gemfile
- rvm: 2.5.9
gemfile: gemfiles/active_record_7.0.gemfile
- rvm: 2.6.9
gemfile: gemfiles/rails_7.0.gemfile
- rvm: 2.6.9
gemfile: gemfiles/active_record_7.0.gemfile
services:
- docker
before_install:
- docker-compose up -d
- gem install bundler -v 2.1.4
script:
- bundle exec rake spec