Posts

Showing posts with the label Travis CI

Integrating an Android Github repo with Travis Ci with the new Android Plugin

In my previous post I wrote how to integrate an Android Github repo with Travis Ci. Now we can change something in our travis.yml , using the new Android plugin . Warning:The features described here are still in development! All the considerations described in the old post remain valid, but we can update some parts. First, declare the new language : language: android With this line, travis provides the Android SDK 22.6.2 with following preinstalled components : platform-tools android-19 sysimg-19 (ARM) android-18 sysimg-18 (ARM) android-17 sysimg-17 (ARM) android-16 sysimg-16 (ARM) android-15 sysimg-15 (ARM) android-10 extra-android-support extra-google-google_play_services extra-google-m2repository extra-android-m2repository Here you can find the updated list . Then we can add or update (a.k.a. re-install) some components to get the latest minor versions: android: components: - build-tools-19.0.3 Under the wood the plugin runs the command: androi...

Integrating an Android Github repo with Travis Ci

I have spent a bit of time to integrate my github repos with Travis CI . Travis is a hosted continuous integration service for the open source community and it is very popular, but I saw very few open-source Android projects which are using Travis. The main reason is that Travis CI's build environment provides different runtimes for different languages but it is not pre-configured with Android SDK, build tools, therefore it requires some knowledge. First of all, I am not an expert! The first steps to integrate travis with Github are very easy. 1. Sign in with your GitHub account and authorize Travis. Here you can find more detail about permissions . 2. Activate your projects in your profile page Then the real focal point: 3. Add .travis.yml to the root of your repository . In order for Travis CI to build your project, you need to tell the system a little bit about it. First, declare language . It tells Travis CI which language environment to select for your projec...