Travis CI: Use Android builder

This commit is contained in:
Gilles Cornu 2014-10-06 17:39:04 +02:00 committed by Florian Schmaus
parent 452b2aca0f
commit bd06e07065
1 changed files with 6 additions and 9 deletions

View File

@ -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