summaryrefslogtreecommitdiff
path: root/app/models/commit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r--app/models/commit.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb
index 3532035..3d005b1 100644
--- a/app/models/commit.rb
+++ b/app/models/commit.rb
@@ -164,4 +164,8 @@ class Commit < ActiveRecord::Base
builds.first.coverage
end
end
+
+ def matrix?
+ builds_without_retry.size > 1
+ end
end