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:
parent
e5a85dcc6a
commit
4c98094551
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue
Block a user