Taking jasmine out of CI for now - selenium server isn't reliably starting up during jasmine:ci
This commit is contained in:
parent
08a70e4980
commit
2268cd204c
2 changed files with 4 additions and 2 deletions
|
|
@ -2,7 +2,7 @@ namespace :cruise do
|
|||
desc "Run all specs and features"
|
||||
task :cruise => :environment do
|
||||
system('/etc/init.d/xvfb start')
|
||||
system('export DISPLAY=:99.0 && bundle exec rake')
|
||||
system('export DISPLAY=:99.0 && bundle exec rake no-jasmine')
|
||||
exit_status = $?.exitstatus
|
||||
system('/etc/init.d/xvfb stop')
|
||||
raise "tests failed!" unless exit_status == 0
|
||||
|
|
|
|||
|
|
@ -1 +1,3 @@
|
|||
task :default => [:cucumber, :spec, :'jasmine:ci']
|
||||
task :default => [:cucumber, :spec, :'jasmine:ci']
|
||||
|
||||
task :'no-jasmine' => [:cucumber, :spec]
|
||||
Loading…
Reference in a new issue