From bd06e07065924c638ea3f77921dd890855a3f45f Mon Sep 17 00:00:00 2001 From: Gilles Cornu Date: Mon, 6 Oct 2014 17:39:04 +0200 Subject: [PATCH] Travis CI: Use Android builder --- .travis.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 382050bb7..0cd8d9556 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,7 @@ -language: java +language: android +android: + components: + - android-8 +install: gradle assemble +script: gradle check -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_r23.0.2-linux.tgz - - tar xzf android-* - - export ANDROID_HOME=$PWD/android-sdk-linux - - export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools - - echo "y" | android update sdk --filter platform-tools,android-8 --no-ui --force