From 564217684f03dbcb75ca00f78a0e0c5ab090b038 Mon Sep 17 00:00:00 2001 From: Sarah Mei Date: Fri, 8 Oct 2010 14:14:39 -0600 Subject: [PATCH] Fail CI if exitstatus isn't 0. *sigh* --- lib/tasks/ci.rake | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake index 070a314f3..e7bbae6c8 100644 --- a/lib/tasks/ci.rake +++ b/lib/tasks/ci.rake @@ -1,4 +1,5 @@ desc "Run all specs and features" task :ci => [:environment] do system "bundle exec rake" + raise "tests failed!" unless $?.exitstatus == 0 end \ No newline at end of file