Use abstract name for ENV variable

Code coverage report can be generated on any machine, not only
on Travis instance.
This commit is contained in:
Artur Beljajev 2018-01-28 20:11:04 +02:00
parent 0b5d1c705d
commit 3ae418b360

View file

@ -1,4 +1,4 @@
if ENV['TRAVIS']
if ENV['COVERAGE']
require 'simplecov'
SimpleCov.start
end