lib/danger/ci_source/circle.rb in danger-0.9.1 vs lib/danger/ci_source/circle.rb in danger-0.10.0
- old
+ new
@@ -2,9 +2,10 @@
require "uri"
require "danger/ci_source/circle_api"
module Danger
module CISource
+ # https://circleci.com
class CircleCI < CI
def self.validates?(env)
return false unless env["CIRCLE_BUILD_NUM"]
return false unless env["CIRCLE_PROJECT_USERNAME"]
return false unless env["CIRCLE_PROJECT_REPONAME"]