From c4ef009bfbb6d9660ffc99f1644a3a4c06e03c95 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 5 Sep 2019 23:47:03 +0530 Subject: [PATCH] Fix CI detection on azure pipelines --- setup/unix-ci.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup/unix-ci.py b/setup/unix-ci.py index 201a8fa1fb..8c7db018ad 100644 --- a/setup/unix-ci.py +++ b/setup/unix-ci.py @@ -35,8 +35,8 @@ if ismacos: setenv('LDFLAGS', '-L$SW/lib') setenv('QMAKE', '$SW/qt/bin/qmake') setenv('QTWEBENGINE_DISABLE_SANDBOX', '1') - old = os.environ.get('DYLD_FALLBACK_LIBRARY_PATH', '') setenv('QT_PLUGIN_PATH', '$SW/qt/plugins') + old = os.environ.get('DYLD_FALLBACK_LIBRARY_PATH', '') if old: old += ':' setenv('DYLD_FALLBACK_LIBRARY_PATH', old + '$SW/lib') @@ -107,6 +107,7 @@ def main(): run_python('setup.py bootstrap --ephemeral') elif action == 'test': + os.environ['CI'] = 'true' if ismacos: os.environ['SSL_CERT_FILE' ] = os.path.abspath('resources/mozilla-ca-certs.pem')