aboutsummaryrefslogtreecommitdiff
path: root/run_project_tests.py
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2018-10-07 13:12:49 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2018-10-14 16:01:36 +0100
commit459b81de4644106fabd410870f577848bef99fe6 (patch)
tree9227651e8d39c92b9330a6493e938f0334de5eb3 /run_project_tests.py
parent7bdb39668bd2efd579d94e7d69a0b429e026499b (diff)
downloadmeson-459b81de4644106fabd410870f577848bef99fe6.zip
meson-459b81de4644106fabd410870f577848bef99fe6.tar.gz
meson-459b81de4644106fabd410870f577848bef99fe6.tar.bz2
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.
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-xrun_project_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index 876d135..a9c7eca 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.'