Skip to content
Permalink
Browse files

add non-blocking stdio workaround

  • Loading branch information...
trws committed Oct 12, 2018
1 parent 45ee9c3 commit d7a3e0bf14fba23408ebfed5a6469f42e849d1c8
Showing with 5 additions and 0 deletions.
  1. +5 −0 .travis.yml
@@ -68,6 +68,11 @@ cache:
- $HOME/.ccache

before_install:
# work around persistent write error bug from make in travis
# see https://github.com/travis-ci/travis-ci/issues/4704#issuecomment-348435959
- 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);'
# die if non-blocking is still enabled
- python -c 'import os,sys,fcntl; flags = fcntl.fcntl(sys.stdout, fcntl.F_GETFL); exit(flags&os.O_NONBLOCK);'
# coveralls-lcov required only for coveralls upload:
- if test "$COVERAGE" = "t" ; then gem install coveralls-lcov; fi
- if test -z "${IMG}"; then IMG="bionic-base"; fi

0 comments on commit d7a3e0b

Please sign in to comment.
You can’t perform that action at this time.