Coveralls is useful on travis only and simplecov has some overhead.
Coveralls is useful on travis only and simplecov has some overhead.

Note, coveralls can't be run locally because it wants to run rake test.

Besides, simplecov produces much easier to consume html so run
simplecov locally if you want code coverage information.

A fast spec [1], which finishes in 1.2 seconds, with coveralls
enabled creates 2+ million objects in simplecov:

[1] gems/pending/spec/appliance_console/cli_spec.rb

```
946267  .../.gem/ruby/2.2.3/gems/simplecov-0.10.0/lib/simplecov/source_file.rb 81  T_STRING
733387  .../.gem/ruby/2.2.3/gems/simplecov-0.10.0/lib/simplecov/source_file.rb 170 T_STRING
254898  .../.gem/ruby/2.2.3/gems/simplecov-0.10.0/lib/simplecov/filter.rb  33  T_STRING
122107  .../.gem/ruby/2.2.3/gems/simplecov-0.10.0/lib/simplecov/source_file.rb 97  T_OBJECT
104770  .../.gem/ruby/2.2.3/gems/simplecov-0.10.0/lib/simplecov/source_file.rb 170 T_ARRAY
104769  .../.gem/ruby/2.2.3/gems/simplecov-0.10.0/lib/simplecov/source_file.rb 170 T_REGEXP
45352 .../.gem/ruby/2.2.3/gems/simplecov-0.10.0/lib/simplecov/defaults.rb  7 T_STRING
44189 .../.gem/ruby/2.2.3/gems/simplecov-0.10.0/lib/simplecov/filter.rb  33  T_REGEXP
44187 .../.gem/ruby/2.2.3/gems/simplecov-0.10.0/lib/simplecov/filter.rb  33  T_NODE
44185 .../.gem/ruby/2.2.3/gems/simplecov-0.10.0/lib/simplecov/filter.rb  33  T_ARRAY
```

```
$ bundle exec rspec -r './benchmark_allocations_no_block.rb' --seed 1 gems/pending/spec/appliance_console/cli_spec.rb | grep simplecov | sort -nr | head -n 10
```

**benchmark_allocations_no_block.rb**

```
require 'allocation_tracer'

ObjectSpace::AllocationTracer.setup(%i{path line type})
ObjectSpace::AllocationTracer.trace

at_exit{
  results = ObjectSpace::AllocationTracer.stop

  puts ObjectSpace::AllocationTracer.header.join("\t")
  results.sort_by {|k, v| k}.each {|k, v|
    puts ([v[0]]+k).join("\t")
  }
}
```

romanblanco/manageiq,agrare/manageiq,jvlcek/manageiq,lpichler/manageiq,romanblanco/manageiq,djberg96/manageiq,fbladilo/manageiq,yaacov/manageiq,matobet/manageiq,josejulio/manageiq,mzazrivec/manageiq,durandom/manageiq,durandom/manageiq,jntullo/manageiq,matobet/manageiq,gerikis/manageiq,NaNi-Z/manageiq,juliancheal/manageiq,branic/manageiq,jameswnl/manageiq,mresti/manageiq,borod108/manageiq,d-m-u/manageiq,tzumainn/manageiq,skateman/manageiq,NickLaMuro/manageiq,romaintb/manageiq,mzazrivec/manageiq,romaintb/manageiq,josejulio/manageiq,lpichler/manageiq,agrare/manageiq,mresti/manageiq,maas-ufcg/manageiq,NickLaMuro/manageiq,fbladilo/manageiq,jrafanie/manageiq,ilackarms/manageiq,israel-hdez/manageiq,KevinLoiseau/manageiq,jrafanie/manageiq,aufi/manageiq,andyvesel/manageiq,mfeifer/manageiq,tzumainn/manageiq,d-m-u/manageiq,jameswnl/manageiq,jvlcek/manageiq,chessbyte/manageiq,aufi/manageiq,gmcculloug/manageiq,billfitzgerald0120/manageiq,fbladilo/manageiq,jvlcek/manageiq,ilackarms/manageiq,ilackarms/manageiq,romanblanco/manageiq,gmcculloug/manageiq,matobet/manageiq,d-m-u/manageiq,lpichler/manageiq,pkomanek/manageiq,mfeifer/manageiq,syncrou/manageiq,yaacov/manageiq,KevinLoiseau/manageiq,ailisp/manageiq,tinaafitz/manageiq,jntullo/manageiq,maas-ufcg/manageiq,durandom/manageiq,NaNi-Z/manageiq,romaintb/manageiq,ManageIQ/manageiq,jntullo/manageiq,ilackarms/manageiq,hstastna/manageiq,israel-hdez/manageiq,andyvesel/manageiq,ManageIQ/manageiq,romanblanco/manageiq,israel-hdez/manageiq,ailisp/manageiq,pkomanek/manageiq,kbrock/manageiq,hstastna/manageiq,mkanoor/manageiq,mzazrivec/manageiq,israel-hdez/manageiq,juliancheal/manageiq,tinaafitz/manageiq,hstastna/manageiq,borod108/manageiq,KevinLoiseau/manageiq,ailisp/manageiq,kbrock/manageiq,jntullo/manageiq,juliancheal/manageiq,kbrock/manageiq,jvlcek/manageiq,syncrou/manageiq,gerikis/manageiq,fbladilo/manageiq,KevinLoiseau/manageiq,mfeifer/manageiq,skateman/manageiq,syncrou/manageiq,chessbyte/manageiq,branic/manageiq,djberg96/manageiq,borod108/manageiq,mkanoor/manageiq,aufi/manageiq,mzazrivec/manageiq,ManageIQ/manageiq,borod108/manageiq,maas-ufcg/manageiq,billfitzgerald0120/manageiq,chessbyte/manageiq,andyvesel/manageiq,mresti/manageiq,hstastna/manageiq,andyvesel/manageiq,jrafanie/manageiq,NaNi-Z/manageiq,yaacov/manageiq,tinaafitz/manageiq,KevinLoiseau/manageiq,agrare/manageiq,ailisp/manageiq,NickLaMuro/manageiq,lpichler/manageiq,gerikis/manageiq,tinaafitz/manageiq,branic/manageiq,syncrou/manageiq,durandom/manageiq,romaintb/manageiq,romaintb/manageiq,NickLaMuro/manageiq,NaNi-Z/manageiq,skateman/manageiq,branic/manageiq,mkanoor/manageiq,skateman/manageiq,yaacov/manageiq,maas-ufcg/manageiq,josejulio/manageiq,maas-ufcg/manageiq,gmcculloug/manageiq,djberg96/manageiq,tzumainn/manageiq,aufi/manageiq,tzumainn/manageiq,ManageIQ/manageiq,djberg96/manageiq,pkomanek/manageiq,mresti/manageiq,juliancheal/manageiq,chessbyte/manageiq,jameswnl/manageiq,kbrock/manageiq,billfitzgerald0120/manageiq,romaintb/manageiq,maas-ufcg/manageiq,d-m-u/manageiq,mfeifer/manageiq,jrafanie/manageiq,KevinLoiseau/manageiq,billfitzgerald0120/manageiq,gerikis/manageiq,agrare/manageiq,mkanoor/manageiq,gmcculloug/manageiq,pkomanek/manageiq,josejulio/manageiq,jameswnl/manageiq,matobet/manageiq