From 459b81de4644106fabd410870f577848bef99fe6 Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Sun, 7 Oct 2018 13:12:49 +0100 Subject: Use 'CI' environment variable to detect CI environment Use the 'CI' environment variable to detect CI environment, rather than a collection of CI-specific ones. --- run_project_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'run_project_tests.py') diff --git a/run_project_tests.py b/run_project_tests.py index 876d1359a..a9c7eca7a 100755 --- a/run_project_tests.py +++ b/run_project_tests.py @@ -81,7 +81,7 @@ class AutoDeletedDir: failing_logs = [] print_debug = 'MESON_PRINT_TEST_OUTPUT' in os.environ -under_ci = not {'TRAVIS', 'APPVEYOR'}.isdisjoint(os.environ) +under_ci = 'CI' in os.environ do_debug = under_ci or print_debug no_meson_log_msg = 'No meson-log.txt found.' -- cgit v1.2.3