maint - add travis-ci configuration
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,2 +1,4 @@
|
||||
ext/packaging
|
||||
/pkg/
|
||||
|
||||
Gemfile.lock
|
||||
|
||||
14
.travis.yml
Normal file
14
.travis.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
language: ruby
|
||||
bundler_args: --without development
|
||||
script: "bundle exec rake test SPEC_OPTS='--format documentation'"
|
||||
rvm:
|
||||
- 1.8.7
|
||||
- 1.9.3
|
||||
env:
|
||||
matrix:
|
||||
- MCOLLECTIVE_GEM_VERSION ="~> 2.2.0"
|
||||
- MCOLLECTIVE_GEM_VERSION ="~> 2.4.0"
|
||||
- MCOLLECTIVE_GEM_VERSION ="~> 2.5.0"
|
||||
notifications:
|
||||
email: false
|
||||
17
Gemfile
Normal file
17
Gemfile
Normal file
@@ -0,0 +1,17 @@
|
||||
#!ruby
|
||||
source 'https://rubygems.org'
|
||||
|
||||
group :test do
|
||||
gem 'rake'
|
||||
gem 'rspec', '~> 2.11.0'
|
||||
gem 'mocha', '~> 0.10.0'
|
||||
gem 'mcollective-test'
|
||||
end
|
||||
|
||||
mcollective_version = ENV['MCOLLECTIVE_GEM_VERSION']
|
||||
|
||||
if mcollective_version
|
||||
gem 'mcollective-client', mcollective_version, :require => false
|
||||
else
|
||||
gem 'mcollective-client', :require => false
|
||||
end
|
||||
Reference in New Issue
Block a user