class LetItCrash::Matchers::TravisCI

Public Instance Methods

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