Change gitlab:test task

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-05-06 09:07:15 +03:00
parent aeb5a01ed1
commit fd7a221cca
No known key found for this signature in database
GPG key ID: 627C5F589F467F17

View file

@ -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