Check out example codes for "travis ci NameError: uninitialized constant SimpleCov". It will help you in understanding the concepts better.

Code Example 1

gem 'simplecov', :require => false
gem 'simplecov-rcov', :require => false
gem 'simplecov-console', :require => false

Learn ReactJs, React Native from akashmittal.com