From 191bcd3ba73e6fef0ebd82c5043a39bc4f96cb16 Mon Sep 17 00:00:00 2001 From: Jeff Reback Date: Thu, 11 Jan 2018 06:41:52 -0500 Subject: [PATCH] CI: move location of setting non-blocking IO --- .travis.yml | 3 +++ ci/install_travis.sh | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5cc6547968b7d..ca1dfcae43e76 100644 --- a/.travis.yml +++ b/.travis.yml @@ -95,6 +95,9 @@ matrix: before_install: - echo "before_install" + # set non-blocking IO on travis + # https://github.com/travis-ci/travis-ci/issues/8920#issuecomment-352661024 + - 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);' - source ci/travis_process_gbq_encryption.sh - export PATH="$HOME/miniconda3/bin:$PATH" - df -h diff --git a/ci/install_travis.sh b/ci/install_travis.sh index 272e7f2e05d14..4ec5b0a9d8820 100755 --- a/ci/install_travis.sh +++ b/ci/install_travis.sh @@ -101,9 +101,6 @@ time conda create -n pandas --file=${REQ} || exit 1 source activate pandas -# https://github.com/travis-ci/travis-ci/issues/8920#issuecomment-352661024 -python -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" - # may have addtl installation instructions for this build echo echo "[build addtl installs]"