Commit fd7a221c authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Change gitlab:test task

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent aeb5a01e
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment