@cryptotaxi247 / netdata-1 / commits / f40beee34

attempt to fix travis bug on large stdout/stderr dumps

Costa Tsaousis (ktsaou) committed Dec 27, 2017 at 01:55 UTC f40beee346198979f6e01b5ae04e4c7792c8d217
1 file changed +3
.travis.yml
+3
@@ -40,6 +40,9 @@ before_script:
40 script:
41 # make release packages
42 - fakeroot ./packaging/git-build
43 + # Make sure stdout is in blocking mode. If we don't, then conda create will barf during downloads.
44 + # See https://github.com/travis-ci/travis-ci/issues/4704#issuecomment-348435959 for details.
45 + - 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);'
46 # make self-extractor
47 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./makeself/build-x86_64-static.sh; fi
48 # test build and installer