diff options
author | Raphael Sofaer <raphael@joindiaspora.com> | 2011-07-02 20:55:35 +0400 |
---|---|---|
committer | Raphael Sofaer <raphael@joindiaspora.com> | 2011-07-02 21:21:30 +0400 |
commit | 7f552799624a3b229d8a3bc9173993effce8f144 (patch) | |
tree | a953f9998ecfc489e52cca5e00a33e8a8ab5e9b8 /lib | |
parent | bc5d29bff333f262b2788d2ff587f2f0ef729a32 (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.rake | 5 |
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` |