lib/travis/client/job.rb in travis-1.1.3 vs lib/travis/client/job.rb in travis-1.2.0
- old
+ new
@@ -27,9 +27,13 @@
def push?
build.push?
end
+ def branch_info
+ build.branch_info
+ end
+
def allow_failures?
return false unless config.include? 'matrix' and config['matrix'].include? 'allow_failures'
config['matrix']['allow_failures'].any? do |allow|
allow.all? { |key, value| config[key] == value }
end