Re-enable Android states on Travis#145
Conversation
The larger memory limits on the Trusty beta will hopefully make these less flaky.
|
@bors-servo r+ |
|
📌 Commit f4a3e8a has been approved by |
Re-enable Android states on Travis The larger memory limits on the Trusty beta will hopefully make these less flaky. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/145) <!-- Reviewable:end -->
|
I'd recommend trying this build a few times before merging to make sure it's not flaky - I know there have been problems in the past. |
|
@bors-servo r- force |
|
@bors-servo r- |
|
@bors-servo force |
|
Keeping it closed till the travis build passes. |
|
Ok, thanks. Looks like some of the package names may have changed, I'll take a look at it now. |
|
Cool |
Some of the dependencies for Android require 32-bit versions of certain package, so add the architecture and update the package database (via refresh: True) before installing them.
|
I fixed the package installation problem, but it looks like it's running into disk space limits. |
|
Do you know which components/versions of the SDK/NDK we need? It looks like it may be possible to selectively download the pieces we need: https://sites.google.com/a/android.com/tools/recent/updatingsdkfromcommand-line |
|
Not sure. @larsbergstrom ? |
|
Platform tools and API 18 at least (it's hard to tell what it actually installed). I suspect this will take a little bit of trial and error. The NDK comes as a big blob. you just have to grab & unpack the binary then also install the specific toolkit (use cmdline in https://github.com/servo/servo/wiki/Building-for-Android#set-up-toolchain). |
Use --filter to only download and extract necessary SDK components. This is faster, uses less resources and gets around Travis disk space limits. Update to latest SDK and NDK versions and use sha512 instead of sha1. Use archive.extracted for better semantics and concision.
|
Looks like I got it to build cleanly on Travis! Shame about the build time though. |
|
@bors-servo r+ |
|
📌 Commit b80f1bd has been approved by |
Re-enable Android states on Travis The larger memory limits on the Trusty beta will hopefully make these less flaky. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/145) <!-- Reviewable:end -->
|
☀️ Test successful - travis |
The larger memory limits on the Trusty beta will
hopefully make these less flaky.