class LetItCrash::Matchers::CircleCI

Public Instance Methods

branch() click to toggle source
# File lib/letitcrash/matchers/circle_ci.rb, line 10
def branch
  environment['CIRCLE_BRANCH']
end
matches?() click to toggle source
# File lib/letitcrash/matchers/circle_ci.rb, line 6
def matches?
  ci? && environment['CIRCLECI'] == 'true'
end
sha() click to toggle source
# File lib/letitcrash/matchers/circle_ci.rb, line 14
def sha
  environment['CIRCLE_SHA1']
end