Change gitlab:test task
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
fac225780c
commit
b96ad52e10
1 changed files with 2 additions and 2 deletions
|
@ -8,9 +8,9 @@ namespace :gitlab do
|
||||||
]
|
]
|
||||||
|
|
||||||
cmds.each do |cmd|
|
cmds.each do |cmd|
|
||||||
system({'RAILS_ENV' => 'test', 'force' => 'yes'}, *cmd)
|
result = system({'RAILS_ENV' => 'test', 'force' => 'yes'}, *cmd)
|
||||||
|
|
||||||
raise "#{cmd} failed!" unless $?.exitstatus.zero?
|
raise "#{cmd} failed!" unless result
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue