cue: add GitLab to service detection

This commit is contained in:
Ralph Lange
2020-06-22 15:03:05 +02:00
parent 032ef83502
commit 682f92941d
2 changed files with 13 additions and 0 deletions

View File

@@ -22,6 +22,10 @@ if 'TRAVIS' in os.environ:
ci_service = 'travis'
ci_os = os.environ['TRAVIS_OS_NAME']
if 'GITLAB_CI' in os.environ:
ci_service = 'gitlab'
ci_os = 'linux'
if 'APPVEYOR' in os.environ:
ci_service = 'appveyor'
if re.match(r'^Visual', os.environ['APPVEYOR_BUILD_WORKER_IMAGE']):