Change gitlab:test task
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
aeb5a01ed1
commit
fd7a221cca
1 changed files with 2 additions and 2 deletions
|
@ -8,9 +8,9 @@ namespace :gitlab do
|
|||
]
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue