diff options
-rw-r--r-- | features/support/env.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/features/support/env.rb b/features/support/env.rb index f0a3dd8d2d0..c1cfabd0d6a 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -1,5 +1,13 @@ if ENV['SIMPLECOV'] require 'simplecov' + + SimpleCov.start :rails do + if ENV['CI_BUILD_NAME'] + coverage_dir "coverage/#{ENV['CI_BUILD_NAME']}" + command_name ENV['CI_BUILD_NAME'] + merge_timeout 7200 + end + end end ENV['RAILS_ENV'] = 'test' |