language: java

jdk:
  - openjdk6

language: java
jdk: oraclejdk7

before_install:
  # Install base Android SDK
  - sudo apt-get update -qq
  - if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch > /dev/null; fi
  - wget http://dl.google.com/android/android-sdk_r21.1-linux.tgz
  - tar xzf android-sdk_r21.1-linux.tgz
  - export ANDROID_HOME=$PWD/android-sdk-linux
  - export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools

  # Install required components.
  - android update sdk --filter platform-tools,android-11,extra-android-support --no-ui --force > /dev/null

Update Travis config for Android builds...
Update Travis config for Android builds...

Taken, and stripped down from, this:

https://github.com/embarkmobile/android-maven-example/blob/master/.travis.yml

...I've attempted to remove unnecessary stuff.

Full Travis support for Android is apparently being worked on:

https://github.com/travis-ci/travis-worker/issues/56