mirror of
https://github.com/ankidroid/Anki-Android.git
synced 2024-09-20 20:03:05 +02:00
16 lines
741 B
YAML
16 lines
741 B
YAML
language: java
|
|
before_install:
|
|
# download the latest android sdk and unzip
|
|
- wget http://dl.google.com/android/android-sdk_r20-linux.tgz
|
|
- tar -zxf android-sdk_r20-linux.tgz
|
|
# setup your ANDROID_HOME and PATH environment variables
|
|
- export ANDROID_HOME=~/builds/ankidroid-continuous/Anki-Android/android-sdk-linux
|
|
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
|
|
# Only update the SDK for the tools and platform-tools and whatever API level
|
|
# you are building for android.
|
|
- android update sdk --filter 1,2 --no-ui --force
|
|
- android list sdk
|
|
- android update sdk --filter 7 --no-ui --force
|
|
- android update project --path ~/builds/ankidroid-continuous/Anki-Android
|
|
script: "ant clean debug"
|