Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
458aed5e
Commit
458aed5e
authored
Dec 20, 2013
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Specs] Temporarily disable coverage generation
see
https://github.com/colszowka/simplecov/issues/269
parent
8b3d2d7a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
16 deletions
+15
-16
spec_helper.rb
spec/spec_helper.rb
+15
-16
No files found.
spec/spec_helper.rb
View file @
458aed5e
# Set up coverage analysis
# Set up coverage analysis
#-----------------------------------------------------------------------------#
#-----------------------------------------------------------------------------#
# if Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new("1.9")
if
Gem
::
Version
.
new
(
RUBY_VERSION
.
dup
)
>=
Gem
::
Version
.
new
(
"1.9"
)
# if ENV['CI'] || ENV['GENERATE_COVERAGE']
if
ENV
[
'CI'
]
||
ENV
[
'GENERATE_COVERAGE'
]
# require 'simplecov'
require
'simplecov'
# require 'coveralls'
require
'coveralls'
#
# if ENV['CI']
if
ENV
[
'CI'
]
# SimpleCov.formatter = Coveralls::SimpleCov::Formatter
SimpleCov
.
formatter
=
Coveralls
::
SimpleCov
::
Formatter
# elsif ENV['GENERATE_COVERAGE']
elsif
ENV
[
'GENERATE_COVERAGE'
]
# SimpleCov.formatter = SimpleCov::Formatter::HTMLFormatter
SimpleCov
.
formatter
=
SimpleCov
::
Formatter
::
HTMLFormatter
# end
end
# SimpleCov.start do
SimpleCov
.
start
do
# add_filter "/spec_helper/"
add_filter
"/spec_helper/"
# end
end
# end
end
# end
end
# Set up
# Set up
#-----------------------------------------------------------------------------#
#-----------------------------------------------------------------------------#
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment