From f41f4fbe3c123914c41b8166ca329f6d9d99f07a Mon Sep 17 00:00:00 2001 From: Vincent Fu Date: Sat, 25 Jul 2020 13:50:06 -0400 Subject: [PATCH] ci: set PYTHONUNBUFFERED=TRUE Set this environment variable so that the build output is consistent across the different environments. --- .appveyor.yml | 1 + ci/travis-build.sh | 1 + 2 files changed, 2 insertions(+) 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" -- 2.25.1