summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Fu <vincentfu@gmail.com>2020-07-25 13:50:06 -0400
committerVincent Fu <vincentfu@gmail.com>2020-07-25 15:01:57 -0400
commitf41f4fbe3c123914c41b8166ca329f6d9d99f07a (patch)
tree41f8005cebd68289757c3e43a9386892dc7bcc9e
parent061a0773e910417aeca7b95b12248489d29aea84 (diff)
downloadfio-f41f4fbe3c123914c41b8166ca329f6d9d99f07a.tar.gz
fio-f41f4fbe3c123914c41b8166ca329f6d9d99f07a.tar.bz2
ci: set PYTHONUNBUFFERED=TRUE
Set this environment variable so that the build output is consistent across the different environments.
-rw-r--r--.appveyor.yml1
-rwxr-xr-xci/travis-build.sh1
2 files changed, 2 insertions, 0 deletions
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"