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