From 0e1d6c0101e893cfd1288ba3e67bb2d3e1a0ac23 Mon Sep 17 00:00:00 2001 From: Levi Naden Date: Mon, 15 Jan 2018 10:27:20 -0500 Subject: [PATCH] Experimental: Try setting the non-blocking flag in Python May allow large sdtout flood not to cause travis to crash --- devtools/docker-build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devtools/docker-build.sh b/devtools/docker-build.sh index 68ead39e..a1375d00 100755 --- a/devtools/docker-build.sh +++ b/devtools/docker-build.sh @@ -8,6 +8,8 @@ conda config --add channels conda-forge conda update -yq conda conda install -yq conda-build==2.1.17 jinja2 anaconda-client +python -c 'import os,sys,fcntl; flags = fcntl.fcntl(sys.stdout, fcntl.F_GETFL); fcntl.fcntl(sys.stdout, fcntl.F_SETFL, flags&~os.O_NONBLOCK);' + /io/conda-build-all -vvv $UPLOAD -- /io/* #mv /anaconda/conda-bld/linux-64/*tar.bz2 /io/ || true