Skip to content

Commit

Permalink
test against stable rails versions
Browse files Browse the repository at this point in the history
  • Loading branch information
siegy22 committed Sep 11, 2017
1 parent f1ea03f commit 3a5cb8d
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 147 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ test/dummy/.sass-cache
!/test/sandbox/.gitkeep

.ruby-version

Gemfile.lock
gemfiles/*.lock
12 changes: 9 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
language: ruby
sudo: false
cache: bundler
before_script: bundle install --jobs=3 --retry=3

rvm:
- 2.2.7
- 2.3.4
- 2.4.1
- 2.2.7
- 2.3.4
- 2.4.1

gemfile:
- gemfiles/Gemfile.rails-4-2stable
- gemfiles/Gemfile.rails-5-0stable
- gemfiles/Gemfile.rails-5-1stable
144 changes: 0 additions & 144 deletions Gemfile.lock

This file was deleted.

11 changes: 11 additions & 0 deletions gemfiles/Gemfile.rails-4.2-stable
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
source "https://rubygems.org"

gemspec path: ".."

gem "rails", github: "rails/rails", branch: "4-2-stable"

group :test do
gem 'capybara', '>= 2.1'
gem 'poltergeist', '~> 1.5'
gem 'sqlite'
end
11 changes: 11 additions & 0 deletions gemfiles/Gemfile.rails-5-0-stable
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
source "https://rubygems.org"

gemspec path: ".."

gem "rails", github: "rails/rails", branch: "5-0-stable"

group :test do
gem 'capybara', '>= 2.1'
gem 'poltergeist', '~> 1.5'
gem 'sqlite'
end
11 changes: 11 additions & 0 deletions gemfiles/Gemfile.rails-5-1-stable
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
source "https://rubygems.org"

gemspec path: ".."

gem "rails", github: "rails/rails", branch: "5-1-stable"

group :test do
gem 'capybara', '>= 2.1'
gem 'poltergeist', '~> 1.5'
gem 'sqlite'
end
1 change: 1 addition & 0 deletions pdfjs_viewer-rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Gem::Specification.new do |s|

s.add_dependency "rails", "> 4.2.0"
s.add_dependency "sass-rails", "~> 5.0"
s.add_dependency "json", "> 1.8.4"

s.add_development_dependency "sqlite3"
end

0 comments on commit 3a5cb8d

Please sign in to comment.