Ensure coverage.xml is generated on Travis
This commit is contained in:
parent
0e28b5694a
commit
c7482bef1b
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
||||
require 'simplecov'
|
||||
|
||||
if ENV['GITHUB_ACTIONS']
|
||||
if ENV['GITHUB_ACTIONS'] || ENV['TRAVIS']
|
||||
require 'simplecov-cobertura'
|
||||
SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue