Skip to content

Commit cafa05d

Browse files
committed
CI. Run against Rails 6.1
1 parent e9eb647 commit cafa05d

File tree

4 files changed

+26
-3
lines changed

4 files changed

+26
-3
lines changed

.travis.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ matrix:
2525
- rvm: ruby-2.7.0
2626
gemfile: gemfiles/rails_5_2.gemfile
2727

28-
# Rails 6
28+
# Rails 6.0
2929
# It requires Ruby 2.5 and above
3030
- rvm: ruby-2.5.3
3131
gemfile: gemfiles/rails_6_0.gemfile
@@ -36,6 +36,17 @@ matrix:
3636
- rvm: jruby-9.2.14.0
3737
gemfile: gemfiles/rails_6_0.gemfile
3838

39+
# Rails 6.1
40+
# It requires Ruby 2.5 and above
41+
- rvm: ruby-2.5.3
42+
gemfile: gemfiles/rails_6_1.gemfile
43+
- rvm: ruby-2.6.3
44+
gemfile: gemfiles/rails_6_1.gemfile
45+
- rvm: ruby-2.7.0
46+
gemfile: gemfiles/rails_6_1.gemfile
47+
- rvm: jruby-9.2.14.0
48+
gemfile: gemfiles/rails_6_1.gemfile
49+
3950
### BUILD LIFECYCLE STEPS ###
4051

4152
before_install:

Appraisals

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,9 @@ appraise 'rails-5-2' do
1717
end
1818

1919
appraise 'rails-6-0' do
20-
gem 'activemodel', '6.0.0'
20+
gem 'activemodel', '~> 6.0.0'
21+
end
22+
23+
appraise 'rails-6-1' do
24+
gem 'activemodel', '~> 6.1.0'
2125
end

gemfiles/rails_6_0.gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
source 'https://rubygems.org'
66

7-
gem 'activemodel', '6.0.0'
7+
gem 'activemodel', '~> 6.0.0'
88
gem 'pry-byebug', platforms: :ruby
99

1010
gemspec path: '../'

gemfiles/rails_6_1.gemfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "pry-byebug", platforms: :ruby
6+
gem "activemodel", "~> 6.1.0"
7+
8+
gemspec path: "../"

0 commit comments

Comments
 (0)