mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-05 00:35:08 -05:00
17 lines
729 B
YAML
17 lines
729 B
YAML
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 lib32z1 lib32stdc++6; fi
|
|
- wget http://dl.google.com/android/android-sdk_r22.6.2-linux.tgz
|
|
- tar xzf android-sdk_r22.6.2-linux.tgz
|
|
- export ANDROID_HOME=$PWD/android-sdk-linux
|
|
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
|
|
|
|
# Install required Android components.
|
|
- echo "y" | android update sdk -a --filter build-tools-19.1.0,android-19,platform-tools,extra-android-support,extra-android-m2repository --no-ui --force
|
|
install: echo "Installation done"
|
|
script: gradle assemble -S -q
|
|
|