From: Vincent Fu Date: Sat, 25 Jul 2020 17:50:06 +0000 (-0400) Subject: ci: set PYTHONUNBUFFERED=TRUE X-Git-Tag: fio-3.22~23^2~1 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=f41f4fbe3c123914c41b8166ca329f6d9d99f07a;p=fio.git ci: set PYTHONUNBUFFERED=TRUE Set this environment variable so that the build output is consistent across the different environments. --- diff --git a/.appveyor.yml b/.appveyor.yml index 5f4a33e2..5c0266a1 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -18,6 +18,7 @@ environment: install: - '%CYG_ROOT%\setup-x86_64.exe --quiet-mode --no-shortcuts --only-site --site "%CYG_MIRROR%" --packages "mingw64-%PACKAGE_ARCH%-zlib,mingw64-%PACKAGE_ARCH%-CUnit" > NUL' - SET PATH=C:\Python38-x64;%CYG_ROOT%\bin;%PATH% # NB: Changed env variables persist to later sections + - SET PYTHONUNBUFFERED=TRUE - python.exe -m pip install scipy six build_script: diff --git a/ci/travis-build.sh b/ci/travis-build.sh index fff9c088..06012e89 100755 --- a/ci/travis-build.sh +++ b/ci/travis-build.sh @@ -1,6 +1,7 @@ #!/bin/bash EXTRA_CFLAGS="-Werror" +PYTHONUNBUFFERED=TRUE if [[ "$BUILD_ARCH" == "x86" ]]; then EXTRA_CFLAGS="${EXTRA_CFLAGS} -m32"