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

add many rails versions to CI #13

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ spec/dummy/db/*.sqlite3-journal
spec/dummy/log/*.log
spec/dummy/tmp/
spec/dummy/.sass-cache
/coverage
/coverage
.idea
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
language: ruby
script: bundle exec rspec
env:
- "RAILS_VERSION=4.2.6"
- "RAILS_VERSION=5.1.6"
- "RAILS_VERSION=5.2"
7 changes: 6 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,13 @@ gemspec

# To use a debugger
# gem 'byebug', group: [:development, :test]
#

gem 'rails', '~> 5'
def rails_version
ENV['RAILS_VERSION'] || '5.1'
end

gem 'rails', rails_version

group :development do
gem 'listen'
Expand Down
261 changes: 0 additions & 261 deletions Gemfile.lock

This file was deleted.