mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-27 11:12:15 -05:00
try travis with android lang type
This commit is contained in:
parent
2c47035e02
commit
d445b4d2e0
32
.travis.yml
32
.travis.yml
@ -1,18 +1,20 @@
|
|||||||
language: java
|
language: android
|
||||||
jdk: openjdk7
|
jdk: openjdk7
|
||||||
before_install:
|
android:
|
||||||
# Install base Android SDK
|
components:
|
||||||
- sudo apt-get update -qq
|
- build-tools-22.0.1
|
||||||
- if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm lib32z1 lib32stdc++6; fi
|
- build-tools-21.1.2
|
||||||
- wget http://dl.google.com/android/android-sdk_r24.1.2-linux.tgz
|
- build-tools-21.1.1
|
||||||
- tar xzf android-sdk_r24.1.2-linux.tgz
|
- build-tools-19.1.0
|
||||||
- export ANDROID_HOME=$PWD/android-sdk-linux
|
- android-22
|
||||||
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
|
- android-21
|
||||||
|
- android-19
|
||||||
# Install required Android components.
|
- platform-tools
|
||||||
#- 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
|
- extra-android-support
|
||||||
- ( sleep 5 && while [ 1 ]; do sleep 1; echo y; done ) | android update sdk --no-ui --all --force --filter build-tools-22.0.1,build-tools-21.1.2,build-tools-21.1.1,build-tools-19.1.0,android-22,android-21,android-19,platform-tools,extra-android-support,extra-android-m2repository
|
- extra-android-m2repository
|
||||||
install: echo "Installation done"
|
licenses:
|
||||||
|
- 'android-sdk-preview-license-52d11cd2'
|
||||||
|
- 'android-sdk-license-.+'
|
||||||
|
- 'google-gdk-license-.+'
|
||||||
script:
|
script:
|
||||||
- ./gradlew testDebug jacocoTestReport coveralls --info
|
- ./gradlew testDebug jacocoTestReport coveralls --info
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user