We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56b7128 commit 58f230dCopy full SHA for 58f230d
2 files changed
.travis.yml
@@ -92,7 +92,9 @@ script:
92
- make -C mpy-cross -j2
93
- echo -en 'travis_fold:end:mpy-cross\\r'
94
95
- - cd tools && python3 build_release_files.py
+ # Use unbuffered output because building all the releases can take a long time.
96
+ # Travis will cancel the job if it sees no output for >10 minutes.
97
+ - cd tools && python3 -u build_release_files.py
98
- cd ..
99
100
- echo 'Building unix' && echo -en 'travis_fold:start:unix\\r'
tools/build_release_files.py
@@ -71,6 +71,7 @@
71
if travis:
72
print('travis_fold:end:adafruit-bins-{}-{}\\r'.format(language, board))
73
74
- print()
+ # Flush so travis will see something before 10 minutes has passed.
75
+ print(flush=True)
76
77
sys.exit(exit_status)
0 commit comments