File tree Expand file tree Collapse file tree 1 file changed +24
-22
lines changed Expand file tree Collapse file tree 1 file changed +24
-22
lines changed Original file line number Diff line number Diff line change 44
55Concurrent . use_stdlib_logger Logger ::FATAL
66
7- if ENV [ 'COVERAGE' ] || ENV [ 'CI' ] || ENV [ 'TRAVIS' ]
8- require 'simplecov'
9- require 'coveralls'
7+ unless Concurrent . on_jruby_9000?
8+ if ENV [ 'COVERAGE' ] || ENV [ 'CI' ] || ENV [ 'TRAVIS' ]
9+ require 'simplecov'
10+ require 'coveralls'
1011
11- if ENV [ 'TRAVIS' ]
12- SimpleCov . formatter = SimpleCov ::Formatter ::MultiFormatter [
13- SimpleCov ::Formatter ::HTMLFormatter ,
14- Coveralls ::SimpleCov ::Formatter
15- ]
16- else
17- SimpleCov . formatter = SimpleCov ::Formatter ::HTMLFormatter
18- end
12+ if ENV [ 'TRAVIS' ]
13+ SimpleCov . formatter = SimpleCov ::Formatter ::MultiFormatter [
14+ SimpleCov ::Formatter ::HTMLFormatter ,
15+ Coveralls ::SimpleCov ::Formatter
16+ ]
17+ else
18+ SimpleCov . formatter = SimpleCov ::Formatter ::HTMLFormatter
19+ end
1920
20- SimpleCov . start do
21- project_name 'concurrent-ruby'
22- add_filter '/build-tests/'
23- add_filter '/coverage/'
24- add_filter '/doc/'
25- add_filter '/examples/'
26- add_filter '/pkg/'
27- add_filter '/spec/'
28- add_filter '/tasks/'
29- add_filter '/yard-template/'
30- add_filter '/yardoc/'
21+ SimpleCov . start do
22+ project_name 'concurrent-ruby'
23+ add_filter '/build-tests/'
24+ add_filter '/coverage/'
25+ add_filter '/doc/'
26+ add_filter '/examples/'
27+ add_filter '/pkg/'
28+ add_filter '/spec/'
29+ add_filter '/tasks/'
30+ add_filter '/yard-template/'
31+ add_filter '/yardoc/'
32+ end
3133 end
3234end
3335
You can’t perform that action at this time.
0 commit comments