try running jammit explicitly before jasmine

This commit is contained in:
Maxwell Salzberg 2012-02-07 14:59:59 -08:00
parent f141537d0d
commit 5425d405d8

View file

@ -12,7 +12,7 @@ namespace :ci do
system("bundle exec #{cmd}") system("bundle exec #{cmd}")
raise "#{cmd} failed!" unless $?.exitstatus == 0 raise "#{cmd} failed!" unless $?.exitstatus == 0
end end
["rake jasmine:ci", "rake cucumber"].each do |cmd| ['jammit', "rake jasmine:ci", "rake cucumber"].each do |cmd|
puts "Running bundle exec #{cmd}..." puts "Running bundle exec #{cmd}..."
system("export DISPLAY=:99.0 && GROUP=oauth bundle exec #{cmd}") system("export DISPLAY=:99.0 && GROUP=oauth bundle exec #{cmd}")
raise "#{cmd} failed!" unless $?.exitstatus == 0 raise "#{cmd} failed!" unless $?.exitstatus == 0