```ruby
require 'simplecov'
formatters = [ SimpleCov::Formatter::HTMLFormatter ]

if ENV['TRAVIS']
  require 'coveralls'
  formatters << Coveralls::SimpleCov::Formatter
end

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[*formatters]
SimpleCov.start
```

Resolve deprecation warning from SimpleCov
user
```ruby
require 'simplecov'
formatters = [ SimpleCov::Formatter::HTMLFormatter ]

if ENV['TRAVIS']
  require 'coveralls'
  formatters << Coveralls::SimpleCov::Formatter
end

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new(*formatters)
SimpleCov.start
```
assistant