drishti: travis + android w/ emulator timeout

The Travis Android toolchain (w/ emulator tests) frequently times out. This requires 3-4 restarts (or more) before a PR gets a green light. This is after: removing LTO processing to save link time; consolidating tests; and removing non-essential executable targets. I believe a fair amount of time is lost to the Android installation, but I haven’t timed it closely.

This following article mentions the Travis cache feature: http://panavtec.me/continous-integration-on-android-with-travis-ci, which might be helpful.

Travis can cache directories that you need to speedup the following builds, to do that you have to pay or you can use the new container infrastructure, by specifing “sudo: false”. To enable cache, you have to specify which directories you want to cache, in this case I’m caching some .gradle folders with:

In practice, this is the biggest bottleneck in the development workflow.

  • compare cache w/ current SDK + NDK installation
  • are there opportunities to parallelize?

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 29

Most upvoted comments

The OS X jobs in PR #594 have not started yet after: 5 hrs 56 min 20. One can’t complain about a free service…