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
74b06387
Commit
74b06387
authored
Apr 19, 2013
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Specs] Try to fix Coveralls issues
parent
ee2c6da1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
spec_helper.rb
spec/spec_helper.rb
+8
-5
No files found.
spec/spec_helper.rb
View file @
74b06387
# Set up coverage analysis
# Set up coverage analysis
#-----------------------------------------------------------------------------#
#-----------------------------------------------------------------------------#
# TODO: This can cause issues because coverall loads colorize which interferes
# with colored making certain specs fail occasionally.
#
# https://github.com/lemurheavy/coveralls-ruby/issues/14
#
if
ENV
[
'CI'
]
||
ENV
[
'GENERATE_COVERAGE'
]
if
ENV
[
'CI'
]
||
ENV
[
'GENERATE_COVERAGE'
]
require
'simplecov'
require
'simplecov'
require
'coveralls'
require
'coveralls'
...
@@ -20,6 +16,13 @@ if ENV['CI'] || ENV['GENERATE_COVERAGE']
...
@@ -20,6 +16,13 @@ if ENV['CI'] || ENV['GENERATE_COVERAGE']
end
end
end
end
# TODO: Coverall loads colorize which interferes with colored making certain
# specs fail. This should be removed once Coverall is fixed.
#
# https://github.com/lemurheavy/coveralls-ruby/issues/14
#
require
'colored'
# 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