Skip to content

Commit

Permalink
Merge pull request #951 from RobinDaugherty/cover-erubi-in-ci
Browse files Browse the repository at this point in the history
Require entire bundle in tests, add test case for Rails 5.0 with Erubi
  • Loading branch information
k0kubun committed Aug 17, 2017
2 parents 0347106 + 450ed4d commit 2e430d4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .travis.yml
Expand Up @@ -13,6 +13,7 @@ rvm:
gemfile:
- test/gemfiles/Gemfile.rails-5.1.x
- test/gemfiles/Gemfile.rails-5.0.x
- test/gemfiles/Gemfile.rails-5.0.x.erubi
- test/gemfiles/Gemfile.rails-4.2.x
- test/gemfiles/Gemfile.rails-4.1.x
- test/gemfiles/Gemfile.rails-4.0.x
Expand All @@ -24,8 +25,12 @@ matrix:
gemfile: test/gemfiles/Gemfile.rails-5.1.x
- rvm: 2.0.0
gemfile: test/gemfiles/Gemfile.rails-5.0.x
- rvm: 2.0.0
gemfile: test/gemfiles/Gemfile.rails-5.0.x.erubi
- rvm: 2.1.10
gemfile: test/gemfiles/Gemfile.rails-5.0.x
- rvm: 2.1.10
gemfile: test/gemfiles/Gemfile.rails-5.0.x.erubi
- rvm: 2.4.1
gemfile: test/gemfiles/Gemfile.rails-4.0.x
- rvm: 2.4.1
Expand All @@ -38,5 +43,6 @@ matrix:
allow_failures:
- rvm: rbx-3
- gemfile: test/gemfiles/Gemfile.rails-edge
- gemfile: test/gemfiles/Gemfile.rails-5.0.x.erubi
fast_finish: true
script: "bundle exec rake submodules test"
5 changes: 5 additions & 0 deletions test/gemfiles/Gemfile.rails-5.0.x.erubi
@@ -0,0 +1,5 @@
source "https://rubygems.org"

gem 'rails', '~> 5.0.0'
gem 'erubi'
gemspec :path => '../..'
3 changes: 2 additions & 1 deletion test/test_helper.rb
Expand Up @@ -12,7 +12,8 @@
SimpleCov.start
end

require 'bundler/setup'
require 'bundler'
Bundler.require(:default)
require 'minitest/autorun'
require 'action_pack'
require 'action_controller'
Expand Down

0 comments on commit 2e430d4

Please sign in to comment.