lib/datadog/ci/ext/environment/providers/circleci.rb in datadog-ci-0.2.0 vs lib/datadog/ci/ext/environment/providers/circleci.rb in datadog-ci-0.3.0

- old
+ new

@@ -10,9 +10,13 @@ module Environment module Providers # Circle CI: https://circleci.com/ # Environment variables docs: https://circleci.com/docs/variables/#built-in-environment-variables class Circleci < Base + def self.handles?(env) + env.key?("CIRCLECI") + end + def provider_name "circleci" end def job_url