```ruby
if ENV['SIMPLECOV']
  require 'simplecov'
  SimpleCov.start
end

if ENV['JENKINS_URL']
  require 'codeclimate-test-reporter'
  CodeClimate::TestReporter.start

  require 'coveralls'
  Coveralls.wear!
end
```

Fix test coverage reporting during CI
user
```ruby
unless ENV['SIMPLECOV'].nil?
  require 'simplecov'
  SimpleCov.start
end

unless ENV['CODECLIMATE_REPO_TOKEN'].nil?
  require 'codeclimate-test-reporter'
  CodeClimate::TestReporter.start
end

require 'coveralls'
Coveralls.wear! if Coveralls.will_run?
```
assistant