for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
"""Utilities to detect when this program is running on external services."""
import os
CONTINUOUS_INTEGRATION = [
# Travis CI
'TRAVIS',
# Appveyor
'APPVEYOR',
# CircleCI
'CIRCLECI',
]
def detected():
return any(name in CONTINUOUS_INTEGRATION for name in os.environ)