class LetItCrash::Matchers::Drone

Public Instance Methods

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