I have no idea why travis ran the specs twice, but let's try again.

This commit is contained in:
Raphael Sofaer 2011-07-02 09:55:35 -07:00
parent bc5d29bff3
commit 7f55279962

View file

@ -17,7 +17,10 @@ namespace :cruise do
end
task :travis do
run_cruise
["rspec spec", "rake cucumber", "jasmine:ci"].each do |cmd|
system('bundle exec rspec spec')
raise "#{cmd} failed!" unless $?.exitstatus == 0
end
end
def run_cruise
`sh -e /etc/init.d/xvfb start`