Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Travis matrix: match Vagrant versions to their supported Ruby version
Browse files Browse the repository at this point in the history
  • Loading branch information
maxlinc committed Dec 18, 2014
1 parent 03631f4 commit 516a72f
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 27 deletions.
23 changes: 12 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
language: ruby
rvm:
- 2.0.0
- 2.1.0
script: "appraisal rake"
gemfile:
- Gemfile
- gemfiles/latest_stable.gemfile
- gemfiles/oldest_current.gemfile
- gemfiles/previous_release.gemfile
- gemfiles/oldest_supported.gemfile
- gemfiles/windows_wip.gemfile
matrix:
include:
- gemfile: Gemfile
rvm: 2.1.1 # Just to make sure we're ready...
- gemfile: Gemfile
rvm: 2.0.0
- gemfile: gemfiles/vagrant-1.7.gemfile
rvm: 2.0.0
- gemfile: gemfiles/vagrant-1.6.gemfile
rvm: 2.0.0
- gemfile: gemfiles/vagrant-1.5.gemfile
rvm: 2.0.0
29 changes: 18 additions & 11 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,35 +1,42 @@
appraise "latest-stable" do
appraise "vagrant-1.7" do
group :plugins do
gem "vagrant", :git => 'https://github.com/mitchellh/vagrant', :branch => 'v1.7.1'
gem "vagrant", :git => 'https://github.com/mitchellh/vagrant', :tag => 'v1.7.1'
end
end

# Oldest (current release)
appraise "oldest-current" do
appraise "vagrant-1.6" do
gem 'bundler', '< 1.7.0', '>= 1.5.2'
group :plugins do
gem "vagrant", :git => 'https://github.com/mitchellh/vagrant', :branch => 'v1.7.0'
gem "vagrant", :git => 'https://github.com/mitchellh/vagrant', :tag => 'v1.6.5'
end
end

# Latest patch (previous release)
appraise "previous-release" do
appraise "vagrant-1.5" do
gem 'bundler', '< 1.7.0', '>= 1.5.2'
group :plugins do
gem "vagrant", :git => 'https://github.com/mitchellh/vagrant', :branch => 'v1.6.5'
gem "vagrant", :git => 'https://github.com/mitchellh/vagrant', :tag => 'v1.6.5'
end
end

# Latest patch (previous release)
appraise "oldest-supported" do
appraise "vagrant-1.5" do
gem 'bundler', '< 1.7.0', '>= 1.5.2'
group :plugins do
gem "vagrant", :git => 'https://github.com/mitchellh/vagrant', :tag => 'v1.5.4'
end
end

# Oldest supported release
appraise "vagrant-1.5.0" do
gem 'bundler', '< 1.7.0', '>= 1.5.2'
group :plugins do
gem "vagrant", :git => 'https://github.com/mitchellh/vagrant', :branch => 'v1.5.0'
gem "vagrant", :git => 'https://github.com/mitchellh/vagrant', :tag => 'v1.5.4'
end
end

appraise "windows-wip" do
group :plugins do
gem "vagrant", :git => 'https://github.com/maxlinc/vagrant', :branch => 'winrmssl'
gem "vagrant", :git => 'https://github.com/maxlinc/vagrant', :branch => 'winrm-1.3'
end
end

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ group :development do
end

group :plugins do
gem "vagrant", :git => "https://github.com/mitchellh/vagrant", :branch => "v1.5.0"
gem "vagrant", :git => "https://github.com/mitchellh/vagrant", :tag => "v1.5.4"

gemspec :path => "../"
end
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ group :development do
end

group :plugins do
gem "vagrant", :git => "https://github.com/mitchellh/vagrant", :branch => "v1.6.5"
gem "vagrant", :git => "https://github.com/mitchellh/vagrant", :tag => "v1.5.4"

gemspec :path => "../"
end
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@

source "https://rubygems.org"

gem "bundler", "< 1.7.0", ">= 1.5.2"

group :development do
gem "coveralls", :require => false
gem "pry"
gem "appraisal", "~> 1.0", :git => "https://github.com/maxlinc/appraisal", :branch => "gemspec_in_group"
end

group :plugins do
gem "vagrant", :git => "https://github.com/mitchellh/vagrant", :branch => "v1.7.0"
gem "vagrant", :git => "https://github.com/mitchellh/vagrant", :tag => "v1.6.5"

gemspec :path => "../"
end
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ group :development do
end

group :plugins do
gem "vagrant", :git => "https://github.com/mitchellh/vagrant", :branch => "v1.7.1"
gem "vagrant", :git => "https://github.com/mitchellh/vagrant", :tag => "v1.7.1"

gemspec :path => "../"
end
2 changes: 1 addition & 1 deletion gemfiles/windows_wip.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ group :development do
end

group :plugins do
gem "vagrant", :git => "https://github.com/maxlinc/vagrant", :branch => "winrmssl"
gem "vagrant", :git => "https://github.com/maxlinc/vagrant", :branch => "winrm-1.3"

gemspec :path => "../"
end

0 comments on commit 516a72f

Please sign in to comment.