summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2017-12-27 01:55:30 +0200
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2017-12-27 01:55:30 +0200
commitf40beee346198979f6e01b5ae04e4c7792c8d217 (patch)
tree25711b90743fc5dba9f81f9a8a78ebe8ac5bb744 /.travis.yml
parentd32f54b4b24a438481cdb0603850b41aabdd1bc7 (diff)
attempt to fix travis bug on large stdout/stderr dumps
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 0881c6dc50..5424c65bc6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -40,6 +40,9 @@ before_script:
script:
# make release packages
- fakeroot ./packaging/git-build
+ # Make sure stdout is in blocking mode. If we don't, then conda create will barf during downloads.
+ # See https://github.com/travis-ci/travis-ci/issues/4704#issuecomment-348435959 for details.
+ - 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);'
# make self-extractor
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./makeself/build-x86_64-static.sh; fi
# test build and installer