Skip to content

Commit

Permalink
Merge pull request #109 from jrgriffiniii/issues-108-jrgriffiniii-tes…
Browse files Browse the repository at this point in the history
…t-rails-ruby-latest

Updates the CircleCI configuration to test against Rails release 5.1.7 and Ruby releases 2.6.3, 2.5.5, and 2.4.6
  • Loading branch information
randalldfloyd committed May 10, 2019
2 parents 4ebc181 + a6c70a3 commit a47a6f1
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 7 deletions.
39 changes: 33 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ jobs:
parameters:
ruby_version:
type: string
default: 2.5.5
default: 2.6.3
rails_version:
type: string
default: 5.2.3
bundler_version:
type: string
default: 2.0.1
Expand All @@ -17,6 +20,8 @@ jobs:
name: 'samvera/ruby'
ruby_version: << parameters.ruby_version >>
ruby_type: << parameters.ruby_type >>
environment:
RAILS_VERSION: << parameters.rails_version >>
working_directory: ~/project
steps:
- run: sudo apt-get update && sudo apt-get install libgmp-dev
Expand All @@ -34,19 +39,41 @@ workflows:
ci:
jobs:
- bundle_and_test:
name: "ruby2-6-3"
name: "ruby2-6_rails5-2"
ruby_version: "2.6.3"
- bundle_and_test:
name: "ruby2-5_rails5-2"
ruby_version: "2.5.5"
- bundle_and_test:
name: "ruby2-4_rails5-2"
ruby_version: "2.4.6"
- bundle_and_test:
name: "jruby9-2_rails5-2"
ruby_version: "9.2.0.0"
ruby_type: "jruby"
- bundle_and_test:
name: "jruby9-1_rails5-2"
ruby_version: "9.1.17.0"
ruby_type: "jruby"
- bundle_and_test:
name: "ruby2-6_rails5-1"
ruby_version: "2.6.3"
rails_version: "5.1.7"
- bundle_and_test:
name: "ruby2-5-5"
name: "ruby2-5_rails5-1"
ruby_version: "2.5.5"
rails_version: "5.1.7"
- bundle_and_test:
name: "ruby2-4-6"
name: "ruby2-4_rails5-1"
ruby_version: "2.4.6"
rails_version: "5.1.7"
- bundle_and_test:
name: "jruby9-2"
name: "jruby9-2_rails5-1"
ruby_version: "9.2.0.0"
ruby_type: "jruby"
rails_version: "5.1.7"
- bundle_and_test:
name: "jruby9-1"
name: "jruby9-1_rails5-1"
ruby_version: "9.1.17.0"
ruby_type: "jruby"
rails_version: "5.1.7"
10 changes: 9 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,12 @@ gem 'slop', '~> 3.6' if RUBY_PLATFORM == "java"
gem 'byebug', platforms: [:mri]
gem 'activesupport'
gem 'capybara_discoball', '~> 0.0.2'
gem 'derby', '~> 0.1.0'
gem 'derby', '~> 1.0'

if ENV['RAILS_VERSION']
if ENV['RAILS_VERSION'] == 'edge'
gem 'rails', github: 'rails/rails'
else
gem 'rails', ENV['RAILS_VERSION']
end
end

0 comments on commit a47a6f1

Please sign in to comment.