mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
DEV: Use --profile
and --fail-fast
in CI only
This commit is contained in:
parent
34b29f62db
commit
49cdb072d7
2 changed files with 2 additions and 2 deletions
2
.rspec
2
.rspec
|
@ -1,3 +1 @@
|
||||||
--colour
|
--colour
|
||||||
--profile
|
|
||||||
--fail-fast
|
|
||||||
|
|
|
@ -118,6 +118,8 @@ task 'docker:test' do
|
||||||
puts "travis_fold:start:ruby_tests" if ENV["TRAVIS"]
|
puts "travis_fold:start:ruby_tests" if ENV["TRAVIS"]
|
||||||
unless ENV["SKIP_CORE"]
|
unless ENV["SKIP_CORE"]
|
||||||
params = []
|
params = []
|
||||||
|
params << "--profile"
|
||||||
|
params << "--fail-fast"
|
||||||
if ENV["BISECT"]
|
if ENV["BISECT"]
|
||||||
params << "--bisect"
|
params << "--bisect"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue