Otherwise the instance seems to terminate before the full report dump can be written to the log, making it useless.
This issue was introduced by using travis_wait for the build, which in turn is needed because the unit test only prints the results after it is done, or if there are test failures or errors.
Due to this, the build can go for over 10 minutes without log output, causing Travis to flag the build as stalled, terminating the instance and failing the build.
Give Travis CI time to flush the dump to the log.
Otherwise the instance seems to terminate before the full report dump can be written to the log, making it useless.
This issue was introduced by using
travis_wait
for the build, which in turn is needed because the unit test only prints the results after it is done, or if there are test failures or errors.Due to this, the build can go for over 10 minutes without log output, causing Travis to flag the build as stalled, terminating the instance and failing the build.