Converting to cruisecontrol.rb
This commit is contained in:
parent
36a5fe6b31
commit
73f0e17f5a
1 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
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"
|
||||
Loading…
Reference in a new issue