1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(travis): try working around Travis + gitstats issue

See https://github.com/travis-ci/travis-ci/issues/4704#issuecomment-348435959
for the workaround
This commit is contained in:
sudden6 2017-12-25 15:43:14 +01:00
parent e5a85dcc6a
commit 4c98094551
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -32,6 +32,11 @@ get_repo() {
}
make_stats() {
# workaround gitstats not supporting non-blocking IO correctly 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);'
gitstats \
-c authors_top=1000 \
-c max_authors=100000 \