Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 #109

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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