2014-02-28 05:40:16 -05:00
|
|
|
language: java
|
2014-07-09 11:41:13 -04:00
|
|
|
jdk: openjdk7
|
2014-02-28 05:40:16 -05:00
|
|
|
before_install:
|
|
|
|
# Install base Android SDK
|
|
|
|
- sudo apt-get update -qq
|
2014-03-12 13:47:24 -04:00
|
|
|
- if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm lib32z1 lib32stdc++6; fi
|
2014-12-04 17:37:57 -05:00
|
|
|
- wget http://dl.google.com/android/android-sdk_r23.0.2-linux.tgz
|
|
|
|
- tar xzf android-sdk_r23.0.2-linux.tgz
|
2014-02-28 05:40:16 -05:00
|
|
|
- export ANDROID_HOME=$PWD/android-sdk-linux
|
|
|
|
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
|
|
|
|
|
|
|
|
# Install required Android components.
|
2014-06-28 14:36:54 -04:00
|
|
|
#- 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
|
2014-12-04 18:27:33 -05:00
|
|
|
- ( sleep 5 && while [ 1 ]; do sleep 1; echo y; done ) | android update sdk --no-ui --all --force --filter build-tools-21.1.1,build-tools-19.1.0,android-21,android-19,platform-tools,extra-android-support,extra-android-m2repository
|
2014-02-28 05:40:16 -05:00
|
|
|
install: echo "Installation done"
|
2014-07-11 10:51:10 -04:00
|
|
|
script:
|
2014-08-27 18:51:45 -04:00
|
|
|
- ./gradlew assemble -S -q
|
|
|
|
- ./gradlew --info OpenKeychain-Test:testDebug
|
2014-02-28 05:40:16 -05:00
|
|
|
|