2014-02-28 05:40:16 -05:00
|
|
|
language: java
|
|
|
|
jdk: oraclejdk7
|
|
|
|
before_install:
|
|
|
|
# Install base Android SDK
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
- if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs; fi
|
|
|
|
- wget http://dl.google.com/android/android-sdk_r22.3-linux.tgz
|
|
|
|
- tar xzf android-sdk_r22.3-linux.tgz
|
|
|
|
- export ANDROID_HOME=$PWD/android-sdk-linux
|
|
|
|
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
|
|
|
|
|
|
|
|
# Install required Android components.
|
2014-03-06 13:36:37 -05:00
|
|
|
- echo "y" | android update sdk -a --filter build-tools-19.0.3,android-19,platform-tools,extra-android-support,extra-android-m2repository --no-ui --force
|
2014-02-28 05:40:16 -05:00
|
|
|
install: echo "Installation done"
|
|
|
|
script: gradle assemble -S -q
|
|
|
|
|