1- language : java
2- jdk : oraclejdk7
3- env :
4- matrix :
5- - ANDROID_TARGET=android-20 ANDROID_ABI=armeabi-v7a
1+ language : android
2+ android :
3+ components :
4+ # Uncomment the lines below if you want to
5+ # use the latest revision of Android SDK Tools
6+ - platform-tools
7+ - tools
68
7- before_install :
8- # Install base Android SDK
9- - sudo apt-get update -qq
10- - if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch > /dev/null; fi
11- - wget http://dl.google.com/android/android-sdk_r23-linux.tgz
12- - tar xzf android-sdk_r23-linux.tgz
13- - export ANDROID_HOME=$PWD/android-sdk-linux
14- - export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
9+ # The BuildTools version used by your project
10+ - build-tools-20
1511
16- # Gradle
17- - wget http://services.gradle.org/distributions/gradle-1.12-bin.zip
18- - unzip gradle-1.12-bin.zip
19- - export GRADLE_HOME=$PWD/gradle-1.12
20- - export PATH=$GRADLE_HOME/bin:$PATH
12+ # The SDK version used to compile your project
13+ - android-22
2114
22- # Install required components
23- # For a full list, run `android list sdk -a --extended`
24- # Note that sysimg-19 downloads only ARM, because only the first license query is accepted.
25- - echo yes | android update sdk --filter platform-tools --no-ui --force > /dev/null
26- - echo yes | android update sdk --all --filter build-tools-20.0.0 --no-ui --force > /dev/null
27- - echo yes | android update sdk --filter android-20 --no-ui --force > /dev/null
28- - echo yes | android update sdk --filter sys-img-x86-android-19 --no-ui --force > /dev/null
29- - echo yes | android update sdk --filter extra-android-support --no-ui --force > /dev/null
30- - echo yes | android update sdk --filter extra-android-m2repository --no-ui --force > /dev/null
15+ # Additional components
16+ - extra-google-google_play_services
17+ - extra-google-m2repository
18+ - extra-android-m2repository
3119
32- install :
33- - ./gradlew assemble
20+ # Specify at least one system image,
21+ # if you need to run emulator(s) during your tests
22+ - sys-img-armeabi-v7a-android-19
23+ - sys-img-x86-android-17
24+ script : ./gradlew build connectedCheck
0 commit comments