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_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'run_tests.py') diff --git a/run_tests.py b/run_tests.py index af926ea..2423388 100755 --- a/run_tests.py +++ b/run_tests.py @@ -245,7 +245,7 @@ if __name__ == '__main__': elif arg == '--cross=arm': cross = 'arm' # Running on a developer machine? Be nice! - if not mesonlib.is_windows() and not mesonlib.is_haiku() and 'TRAVIS' not in os.environ: + if not mesonlib.is_windows() and not mesonlib.is_haiku() and 'CI' not in os.environ: os.nice(20) # Appveyor sets the `platform` environment variable which completely messes # up building with the vs2010 and vs2015 backends. -- cgit v1.1