mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 12:02:05 +01:00
Travis CI: Use Android builder
This commit is contained in:
parent
452b2aca0f
commit
bd06e07065
1 changed files with 6 additions and 9 deletions
15
.travis.yml
15
.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
|
|
||||||
|
|
Loading…
Reference in a new issue