diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2018-10-07 13:12:49 +0100 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2018-10-14 16:01:36 +0100 |
commit | 459b81de4644106fabd410870f577848bef99fe6 (patch) | |
tree | 9227651e8d39c92b9330a6493e938f0334de5eb3 /run_tests.py | |
parent | 7bdb39668bd2efd579d94e7d69a0b429e026499b (diff) | |
download | meson-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_tests.py')
-rwxr-xr-x | run_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
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. |