Commit b0a86cb3 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Use gitlab:setup inside gitlab:test

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 46cc3b22
......@@ -2,15 +2,14 @@ namespace :gitlab do
desc "GITLAB | Run all tests"
task :test do
cmds = [
%W(rake db:setup),
%W(rake db:seed_fu),
%W(rake gitlab:setup),
%W(rake spinach),
%W(rake spec),
%W(rake jasmine:ci)
]
cmds.each do |cmd|
system({'RAILS_ENV' => 'test'}, *cmd)
system({'RAILS_ENV' => 'test', 'force' => 'yes'}, *cmd)
raise "#{cmd} failed!" unless $?.exitstatus.zero?
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