Skip to content

CI: move location of setting non-blocking IO #19184

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 11, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions ci/install_travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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]"
Expand Down