Skip to content

Commit

Permalink
Use appraisal to manage different versions of Gemfiles in CI (thanks …
Browse files Browse the repository at this point in the history
…for the tip @fabn)
  • Loading branch information
michaelbaudino committed Dec 20, 2015
1 parent b74935a commit 0823a75
Show file tree
Hide file tree
Showing 13 changed files with 87 additions and 47 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -3,6 +3,7 @@ pkg/*
.bundle
Gemfile.lock
Gemfile.*.lock
gemfiles/*.gemfile.lock
.yardoc/*
doc/*
tmp/*
Expand Down
20 changes: 11 additions & 9 deletions .travis.yml
Expand Up @@ -2,22 +2,24 @@ before_install:
- gem update bundler
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.2.0
- 2.0
- 2.1
- 2.2
- jruby
- jruby-head
gemfile:
- Gemfile.i18n_037
- Gemfile.i18n_050
- Gemfile.i18n_060
- gemfiles/i18n_0.3.gemfile
- gemfiles/i18n_0.4.gemfile
- gemfiles/i18n_0.5.gemfile
- gemfiles/i18n_0.6.gemfile
- gemfiles/i18n_0.7.gemfile
matrix:
exclude:
- rvm: 2.0.0
- rvm: 2.0
gemfile: Gemfile.i18n_037
- rvm: 2.1.0
- rvm: 2.1
gemfile: Gemfile.i18n_037
- rvm: 2.2.0
- rvm: 2.2
gemfile: Gemfile.i18n_037
- rvm: jruby-head
gemfile: Gemfile.i18n_037
19 changes: 19 additions & 0 deletions Appraisals
@@ -0,0 +1,19 @@
appraise "i18n-0.3" do
gem "i18n", "~> 0.3.0"
end

appraise "i18n-0.4" do
gem "i18n", "~> 0.4.0"
end

appraise "i18n-0.5" do
gem "i18n", "~> 0.5.0"
end

appraise "i18n-0.6" do
gem "i18n", "~> 0.6.0"
end

appraise "i18n-0.7" do
gem "i18n", "~> 0.7.0"
end
9 changes: 0 additions & 9 deletions Gemfile.github_project.rb

This file was deleted.

13 changes: 0 additions & 13 deletions Gemfile.i18n_037

This file was deleted.

8 changes: 0 additions & 8 deletions Gemfile.i18n_050

This file was deleted.

8 changes: 0 additions & 8 deletions Gemfile.i18n_060

This file was deleted.

11 changes: 11 additions & 0 deletions gemfiles/i18n_0.3.gemfile
@@ -0,0 +1,11 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "i18n", "~> 0.3.0"

platforms :jruby do
gem "jruby-openssl"
end

gemspec :path => "../"
11 changes: 11 additions & 0 deletions gemfiles/i18n_0.4.gemfile
@@ -0,0 +1,11 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "i18n", "~> 0.4.0"

platforms :jruby do
gem "jruby-openssl"
end

gemspec :path => "../"
11 changes: 11 additions & 0 deletions gemfiles/i18n_0.5.gemfile
@@ -0,0 +1,11 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "i18n", "~> 0.5.0"

platforms :jruby do
gem "jruby-openssl"
end

gemspec :path => "../"
11 changes: 11 additions & 0 deletions gemfiles/i18n_0.6.gemfile
@@ -0,0 +1,11 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "i18n", "~> 0.6.0"

platforms :jruby do
gem "jruby-openssl"
end

gemspec :path => "../"
11 changes: 11 additions & 0 deletions gemfiles/i18n_0.7.gemfile
@@ -0,0 +1,11 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "i18n", "~> 0.7.0"

platforms :jruby do
gem "jruby-openssl"
end

gemspec :path => "../"
1 change: 1 addition & 0 deletions localeapp.gemspec
Expand Up @@ -34,4 +34,5 @@ Gem::Specification.new do |s|
s.add_development_dependency('aruba', '~> 0.8')
s.add_development_dependency('cucumber', '~> 2.0')
s.add_development_dependency('fakeweb')
s.add_development_dependency('appraisal')
end

0 comments on commit 0823a75

Please sign in to comment.