Merge pull request #1379 from dhalbert/flush-output-to-travis
make sure travis sees some output in time
This commit is contained in:
commit
ca3c992037
@ -92,7 +92,9 @@ script:
|
|||||||
- make -C mpy-cross -j2
|
- make -C mpy-cross -j2
|
||||||
- echo -en 'travis_fold:end:mpy-cross\\r'
|
- echo -en 'travis_fold:end:mpy-cross\\r'
|
||||||
|
|
||||||
- cd tools && python3 build_release_files.py
|
# Use unbuffered output because building all the releases can take a long time.
|
||||||
|
# Travis will cancel the job if it sees no output for >10 minutes.
|
||||||
|
- cd tools && python3 -u build_release_files.py
|
||||||
- cd ..
|
- cd ..
|
||||||
|
|
||||||
- echo 'Building unix' && echo -en 'travis_fold:start:unix\\r'
|
- echo 'Building unix' && echo -en 'travis_fold:start:unix\\r'
|
||||||
|
@ -71,6 +71,7 @@ for board in build_boards:
|
|||||||
if travis:
|
if travis:
|
||||||
print('travis_fold:end:adafruit-bins-{}-{}\\r'.format(language, board))
|
print('travis_fold:end:adafruit-bins-{}-{}\\r'.format(language, board))
|
||||||
|
|
||||||
print()
|
# Flush so travis will see something before 10 minutes has passed.
|
||||||
|
print(flush=True)
|
||||||
|
|
||||||
sys.exit(exit_status)
|
sys.exit(exit_status)
|
||||||
|
Loading…
Reference in New Issue
Block a user