(QENG-2246) Add Travis CI

This commit adds a Rakefile, Gemfile, and Travis CI config file.

The Rakefile contains two tasks: test and junit. Both targets execute
the spec tests, with the difference being how the results are presented.

The Gemfile defines dependencies and a test group. To install just the
gems needed for running the application, execute:
  * `bundle install --without test`

The new .travis.yml file is for Travis CI and targets the major ruby
versions.
This commit is contained in:
Colin 2015-07-06 11:18:40 -07:00
parent 9e092fd148
commit e57ee075f2
3 changed files with 35 additions and 0 deletions

15
Gemfile Normal file
View 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