From 7f552799624a3b229d8a3bc9173993effce8f144 Mon Sep 17 00:00:00 2001 From: Raphael Sofaer Date: Sat, 2 Jul 2011 09:55:35 -0700 Subject: [PATCH] I have no idea why travis ran the specs twice, but let's try again. --- lib/tasks/cruise.rake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/tasks/cruise.rake b/lib/tasks/cruise.rake index e7236272f..ad7d6254a 100644 --- a/lib/tasks/cruise.rake +++ b/lib/tasks/cruise.rake @@ -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`