diff --git a/.travis.yml b/.travis.yml index bbfcc54fd5a..611369b1f77 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,22 @@ language: java -install: mvn install clean -P!android --fail-never --quiet -DskipTests=true -Dinvoker.skip=true -script: mvn verify -P!android +jdk: + - oraclejdk7 + - openjdk7 + +before_install: + - 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; fi + - wget http://dl.google.com/android/android-sdk_r21.0.1-linux.tgz + - echo "Installing android SDK into ${PWD}/android-sdk-linux" + - tar -xzf android-sdk_r21.0.1-linux.tgz + - export ANDROID_HOME=${PWD}/android-sdk-linux + - export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools + - android update sdk --filter platform-tools,android-16,extra-android-support,android-17,sysimg-17 --no-ui --force + +install: mvn install clean --fail-never --quiet -DskipTests=true -Dinvoker.skip=true + +script: mvn verify notifications: email: false