lib/danger/ci_source/travis.rb in danger-0.9.1 vs lib/danger/ci_source/travis.rb in danger-0.10.0
- old
+ new
@@ -1,9 +1,10 @@
# http://docs.travis-ci.com/user/osx-ci-environment/
# http://docs.travis-ci.com/user/environment-variables/
module Danger
module CISource
+ # https://travis-ci.com
class Travis < CI
def self.validates?(env)
return false unless env["HAS_JOSH_K_SEAL_OF_APPROVAL"]
return false unless env["TRAVIS_REPO_SLUG"]
return false unless env["TRAVIS_PULL_REQUEST"]