-
Notifications
You must be signed in to change notification settings - Fork 60
Run CI against Rails 6 #129
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
Conversation
.travis.yml
Outdated
- gemfiles/rails_4_2_pundit_2.gemfile | ||
- gemfiles/rails_5_0_pundit_2.gemfile | ||
- gemfiles/rails_5_1_pundit_2.gemfile | ||
- gemfiles/rails_5_2_pundit_2.gemfile | ||
- gemfiles/rails_6_0_pundit_2.gemfile | ||
matrix: | ||
exclude: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the minimum number of exclusions since rails 4.2 doesn't like ruby 2.5 and rails 6 doesn't support ruby 2.3. Totally open to adding more exclusions so we're not running 16 builds
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to only run Ruby 2.5 for Rails 6 runs, and keep 2.3 for other Rails versions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my earlier comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes @brianswko!
* Run CI against Rails 6 * Use ruby 2.5 * Dummy app updates for rails 6 * Run all but Rails 4.2 tests with Ruby 2.5 * Add empty asset manifest to appease Rails Co-authored-by: Vesa Laakso <482561+valscion@users.noreply.github.com>
Loosens the
sqlite3
dev dependency to allow tests to run on any supported version of rails.Adds appraisals and gemfiles for rails 6 to run in CI
Updates the ruby version in CI to 2.5
Resolves #132