mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 18:08:42 -05:00
Merge pull request #111 from colinPL/qeng_2246_travci
(QENG-2246) Add Travis CI
This commit is contained in:
commit
1d483b1374
3 changed files with 35 additions and 0 deletions
7
.travis.yml
Normal file
7
.travis.yml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
language: ruby
|
||||
rvm:
|
||||
- 1.9.3
|
||||
- 2.1.1
|
||||
- 2.2.1
|
||||
- 2.2.2
|
||||
- jruby-1.7.8
|
||||
15
Gemfile
Normal file
15
Gemfile
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
source ENV['GEM_SOURCE'] || 'https://rubygems.org'
|
||||
|
||||
gem 'json', '>= 1.8'
|
||||
gem 'rack', '>= 1.6'
|
||||
gem 'rake', '>= 10.4'
|
||||
gem 'rbvmomi', '>= 1.8'
|
||||
gem 'redis', '>= 3.2'
|
||||
gem 'sinatra', '>= 1.4'
|
||||
|
||||
# Test deps
|
||||
group :test do
|
||||
gem 'rack-test', '>= 0.6'
|
||||
gem 'rspec', '>= 3.2'
|
||||
gem 'yarjuf', '>= 2.0'
|
||||
end
|
||||
13
Rakefile
Normal file
13
Rakefile
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
require 'rspec/core/rake_task'
|
||||
|
||||
desc 'Run rspec tests with coloring.'
|
||||
RSpec::Core::RakeTask.new(:test) do |t|
|
||||
t.rspec_opts = %w[--color]
|
||||
t.pattern = 'spec/'
|
||||
end
|
||||
|
||||
desc 'Run rspec tests and save JUnit output to results.xml.'
|
||||
RSpec::Core::RakeTask.new(:junit) do |t|
|
||||
t.rspec_opts = %w[-r yarjuf -f JUnit -o results.xml]
|
||||
t.pattern = 'spec/'
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue