From f457c6ab327b0520c61021437b87be0cedc5f770 Mon Sep 17 00:00:00 2001
From: Danielle Tomlinson <dan@tomlinson.io>
Date: Fri, 10 Feb 2017 22:59:44 +0100
Subject: [PATCH] diagnostic: Add CircleCI to Env check

---
 Library/Homebrew/extend/os/mac/diagnostic.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb
index 6d30cd2946..3e0c1d04d0 100644
--- a/Library/Homebrew/extend/os/mac/diagnostic.rb
+++ b/Library/Homebrew/extend/os/mac/diagnostic.rb
@@ -53,8 +53,8 @@ module Homebrew
         return unless MacOS::Xcode.installed?
         return unless MacOS::Xcode.outdated?
 
-        # Travis CI images are going to end up outdated so don't complain.
-        return if ENV["TRAVIS"]
+        # CI images are going to end up outdated so don't complain.
+        return if ENV["TRAVIS"] || ENV["CIRCLECI"]
 
         message = <<-EOS.undent
           Your Xcode (#{MacOS::Xcode.version}) is outdated.
-- 
GitLab