Run spec, cucumber, and jasmine separately in an effort to not run rspec twice.

This commit is contained in:
Sarah Mei 2011-09-03 16:38:16 -07:00
parent 09d4918e80
commit 984061cb80

View file

@ -21,8 +21,10 @@ namespace :cruise do
end
task :travis do
system('export DISPLAY=:99.0 && CI=true bundle exec rake')
raise "tests failed!" unless $?.exitstatus == 0
["rspec spec", "rake cucumber", "jasmine:ci"].each do |cmd|
system("export DISPLAY=:99.0 && bundle exec #{cmd}")
raise "#{cmd} failed!" unless $?.exitstatus == 0
end
end
end
task :cruise => "cruise:cruise"