From 2bdb5cee77d1f410eddcfb97a16ba38316a68746 Mon Sep 17 00:00:00 2001 From: Sky Brewer Date: Thu, 11 Apr 2024 15:54:19 +0200 Subject: [PATCH] Add a local run with minimal config --- cue.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cue.py b/cue.py index 218f064..51d07c4 100644 --- a/cue.py +++ b/cue.py @@ -58,6 +58,11 @@ def detect_context(): buildconfig = 'default' ci['cachedir'] = os.path.join(homedir, '.cache') + if 'LOCAL' in os.environ: + ci['service'] = 'local' + if 'CMP' in os.environ: + ci['compiler'] = os.environ['CMP'] + if 'TRAVIS' in os.environ: ci['service'] = 'travis' ci['os'] = os.environ['TRAVIS_OS_NAME']