Enable travis CI testing of github PRs

Add travis CI and support testing against a matrix of vagrant versions.
This commit is contained in:
Darragh Bailey
2015-07-29 17:35:09 +01:00
parent a46545e66c
commit 4c7a0d5db0
2 changed files with 26 additions and 1 deletions

View File

@@ -7,7 +7,12 @@ group :development do
# We depend on Vagrant for development, but we don't add it as a
# gem dependency because we expect to be installed within the
# Vagrant environment itself using `vagrant plugin`.
gem 'vagrant', :git => 'https://github.com/mitchellh/vagrant.git'
if ENV['VAGRANT_VERSION']
gem 'vagrant', :git => 'https://github.com/mitchellh/vagrant.git',
tag: ENV['VAGRANT_VERSION']
else
gem 'vagrant', :git => 'https://github.com/mitchellh/vagrant.git'
end
gem 'pry'
end