-
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Since we will be using Code Climate anyway, it makes sense to use it's code coverage mechanisms as well.
- Loading branch information
J.R. Garcia
committed
Nov 6, 2015
1 parent
04b7ee3
commit 7179430
Showing
4 changed files
with
9 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
source 'https://rubygems.org' | ||
|
||
# Specify your gem's dependencies in fog-vsphere.gemspec | ||
gem 'codeclimate-test-reporter', group: :test, require: nil | ||
|
||
gemspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,8 @@ | ||
if ENV['COVERAGE'] == 'true' | ||
require 'coveralls' | ||
require 'simplecov' | ||
SimpleCov.command_name "shindo:#{Process.pid.to_s}" | ||
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ | ||
SimpleCov::Formatter::HTMLFormatter, | ||
Coveralls::SimpleCov::Formatter | ||
] | ||
SimpleCov.merge_timeout 3600 | ||
|
||
Coveralls.wear! | ||
begin | ||
require 'codeclimate-test-reporter' | ||
CodeClimate::TestReporter.start | ||
rescue LoadError => e | ||
$stderr.puts "not recording test coverage: #{e.inspect}" | ||
end | ||
|
||
require File.expand_path('../../lib/fog/vsphere', __FILE__) |