diff --git a/codecov/__init__.py b/codecov/__init__.py index 82e12136..1ec0261c 100644 --- a/codecov/__init__.py +++ b/codecov/__init__.py @@ -405,7 +405,7 @@ def main(*argv, **kwargs): # -------- # AppVeyor # -------- - elif os.getenv('CI') == "True" and os.getenv('APPVEYOR') == 'True': + elif os.getenv('CI', 'false').lower() == 'true' and os.getenv('APPVEYOR', 'false').lower() == 'true': # http://www.appveyor.com/docs/environment-variables query.update(dict(branch=os.getenv('APPVEYOR_REPO_BRANCH'), service="appveyor",