FIX: turbo_rspec doesn't accept these options

This commit is contained in:
Daniel Waterworth 2019-06-26 17:04:29 +01:00
parent 68d54d818a
commit b3ec3fac93

View File

@ -144,13 +144,16 @@ task 'docker:test' do
puts "travis_fold:start:ruby_tests" if ENV["TRAVIS"]
unless ENV["SKIP_CORE"]
params = []
params << "--profile"
params << "--fail-fast"
if ENV["BISECT"]
params << "--bisect"
end
if ENV["RSPEC_SEED"]
params << "--seed #{ENV["RSPEC_SEED"]}"
unless ENV['USE_TURBO']
params << "--profile"
params << "--fail-fast"
if ENV["BISECT"]
params << "--bisect"
end
if ENV["RSPEC_SEED"]
params << "--seed #{ENV["RSPEC_SEED"]}"
end
end
if ENV['PARALLEL']