Skip to content

Commit e5f8975

Browse files
committed
CI against Rails 5.1 and 5.2 with webpacker
1 parent ced1b62 commit e5f8975

4 files changed

+40
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ gemfile:
1818
- gemfiles/rails_5_no_sprockets_webpacker_1_x.gemfile
1919
- gemfiles/rails_5_no_sprockets_webpacker_2.gemfile
2020
- gemfiles/rails_5_no_sprockets_webpacker_3.gemfile
21+
- gemfiles/rails-5.1_no_sprockets_webpacker_3.gemfile
22+
- gemfiles/rails-5.2_no_sprockets_webpacker_3.gemfile
2123
# These don't have webpacker:
2224
- gemfiles/rails_4.2_sprockets_2.gemfile
2325
- gemfiles/rails_4.2_sprockets_3.gemfile

Appraisals

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,24 @@ end
1212

1313
# no_sprockets is a magical name from sprockets_helper.rb in test to
1414
# load in certain tests or not.
15+
appraise 'rails-5.2_no_sprockets_webpacker_3' do
16+
gem 'rails', '~> 5.2.0'
17+
gem 'webpacker', '>= 3.0'
18+
# This ExecJS backend provides stateful context
19+
# which the default nodejs backend does not
20+
gem 'mini_racer', :platforms => :mri
21+
gem 'therubyrhino', :platforms => :jruby
22+
end
23+
24+
appraise 'rails-5.1_no_sprockets_webpacker_3' do
25+
gem 'rails', '~> 5.1.0'
26+
gem 'webpacker', '>= 3.0'
27+
# This ExecJS backend provides stateful context
28+
# which the default nodejs backend does not
29+
gem 'mini_racer', :platforms => :mri
30+
gem 'therubyrhino', :platforms => :jruby
31+
end
32+
1533
appraise 'rails-5_no_sprockets_webpacker_3' do
1634
gem 'rails', '~> 5.0.0'
1735
gem 'webpacker', '>= 3.0'
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This file was generated by Appraisal
2+
3+
source "http://rubygems.org"
4+
5+
gem "rails", "~> 5.1.0"
6+
gem "webpacker", ">= 3.0"
7+
gem "mini_racer", platforms: :mri
8+
gem "therubyrhino", platforms: :jruby
9+
10+
gemspec path: "../"
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This file was generated by Appraisal
2+
3+
source "http://rubygems.org"
4+
5+
gem "rails", "~> 5.2.0"
6+
gem "webpacker", ">= 3.0"
7+
gem "mini_racer", platforms: :mri
8+
gem "therubyrhino", platforms: :jruby
9+
10+
gemspec path: "../"

0 commit comments

Comments
 (0)