maint - add travis-ci configuration

This commit is contained in:
Richard Clamp
2014-07-25 11:49:02 +01:00
parent 19ea7059ce
commit 00bf319fdb
3 changed files with 33 additions and 0 deletions

2
.gitignore vendored
View File

@@ -1,2 +1,4 @@
ext/packaging
/pkg/
Gemfile.lock

14
.travis.yml Normal file
View 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
View 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