Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRaphael Sofaer <raphael@joindiaspora.com>2011-07-02 20:55:35 +0400
committerRaphael Sofaer <raphael@joindiaspora.com>2011-07-02 21:21:30 +0400
commit7f552799624a3b229d8a3bc9173993effce8f144 (patch)
treea953f9998ecfc489e52cca5e00a33e8a8ab5e9b8 /lib
parentbc5d29bff333f262b2788d2ff587f2f0ef729a32 (diff)
I have no idea why travis ran the specs twice, but let's try again.
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/cruise.rake5
1 files changed, 4 insertions, 1 deletions
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`