Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Start CI pipeline on Travis CI #15
Trying to implement #12.
I started a build pipeline on Travis. In my branch I added a simple
Unfortunately there is a gradle task which tries to run an emulator, which is not fully supported (see https://docs.travis-ci.com/user/languages/android/#How-to-Create-and-Start-an-Emulator).
Maybe you can use it anyway, or disable the gradle task for CI builds. There is also a way to upload build artifacts to Github Releases, documentation at https://docs.travis-ci.com/user/deployment/releases/ I started to use this in another project of mine, but it needs some private set up, so I can only give some tips if you get stuck.
If you have any questions, feel free to ask in the comments.
First you have to make sure that your build is successful on Travis. Maybe you have to skip the emulator tests or modify the project to make them run on the Travis emulator. I have not done this before yet, so I can't help with this. If it's an absolute requirement to run the emulator and you can not make it work with Travis, you might have to use a different CI provider, like CloudBees.
For Travis, you have to provide your own Github OAuth token, read about it here https://docs.travis-ci.com/user/deployment/releases/#authenticating-with-an-oauth-token
Here's a short description of the steps to update the
I updated my