Skip to content
Snippets Groups Projects
Commit 73f0e17f authored by Sarah Mei's avatar Sarah Mei
Browse files

Converting to cruisecontrol.rb

parent 36a5fe6b
No related branches found
No related tags found
No related merge requests found
namespace :ci do
namespace :cruise do
desc "Run all specs and features"
task :ci => :environment do
task :cruise => :environment do
system('/etc/init.d/xvfb start')
system('export DISPLAY=:99.0 && bundle exec rake')
exit_status = $?.exitstatus
......@@ -8,4 +8,4 @@ namespace :ci do
raise "tests failed!" unless exit_status == 0
end
end
task :ci => "ci:ci"
task :cruise => "cruise:cruise"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment