mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
remove coveralls; all we need is simplecov
Signed-off-by: Miah Johnson <miah@chia-pet.org>
This commit is contained in:
parent
d3b7a82cd6
commit
9db7b70e30
3 changed files with 3 additions and 6 deletions
|
@ -45,7 +45,7 @@ bundle install --jobs=7 --retry=3 --without tools maintenance deploy
|
|||
|
||||
echo "+++ bundle exec rake"
|
||||
bundle exec rake test
|
||||
EXIT-CODE=$?
|
||||
EXIT_CODE=$?
|
||||
|
||||
echo "+++ formatting and uploading test coverage"
|
||||
./test-reporter after-build -t simplecov --exit-code "$EXIT_CODE"
|
||||
|
|
1
Gemfile
1
Gemfile
|
@ -20,7 +20,6 @@ end
|
|||
|
||||
group :test do
|
||||
gem "chefstyle", "~> 0.13.0"
|
||||
gem "coveralls", require: false
|
||||
gem "minitest", "~> 5.5"
|
||||
gem "minitest-sprint", "~> 1.0"
|
||||
gem "rake", ">= 10"
|
||||
|
|
|
@ -2,17 +2,15 @@
|
|||
# Do not add any code above this line.
|
||||
|
||||
##
|
||||
# Do not add any other code to this code block. Simplecov and
|
||||
# coveralls only until the next code block:
|
||||
# Do not add any other code to this code block. Simplecov
|
||||
# only until the next code block:
|
||||
|
||||
if ENV["CI_ENABLE_COVERAGE"]
|
||||
require "simplecov/no_defaults"
|
||||
require "helpers/simplecov_minitest"
|
||||
require "coveralls"
|
||||
|
||||
SimpleCov.formatters = SimpleCov::Formatter::MultiFormatter.new([
|
||||
SimpleCov::Formatter::HTMLFormatter,
|
||||
Coveralls::SimpleCov::Formatter,
|
||||
])
|
||||
|
||||
SimpleCov.start do
|
||||
|
|
Loading…
Reference in a new issue