Disable simplecov on CircleCI (#7416)

* Disable simplecov on CircleCI

* Remove --format progress
remotes/1727458204337373841/tmp_refs/heads/signup-info-prompt
Yamagishi Kazutoshi 2018-05-09 23:59:58 +09:00 committed by Eugen Rochko
parent edf882320a
commit ac788ad47e
2 changed files with 8 additions and 6 deletions

View File

@ -11,6 +11,7 @@ aliases:
RAILS_ENV: test RAILS_ENV: test
PARALLEL_TEST_PROCESSORS: 4 PARALLEL_TEST_PROCESSORS: 4
ALLOW_NOPAM: true ALLOW_NOPAM: true
DISABLE_SIMPLECOV: true
working_directory: ~/projects/mastodon/ working_directory: ~/projects/mastodon/
- &attach_workspace - &attach_workspace

View File

@ -1,11 +1,12 @@
require 'simplecov'
GC.disable GC.disable
SimpleCov.start 'rails' do if ENV['DISABLE_SIMPLECOV'] != 'true'
add_group 'Services', 'app/services' require 'simplecov'
add_group 'Presenters', 'app/presenters' SimpleCov.start 'rails' do
add_group 'Validators', 'app/validators' add_group 'Services', 'app/services'
add_group 'Presenters', 'app/presenters'
add_group 'Validators', 'app/validators'
end
end end
gc_counter = -1 gc_counter = -1