forked from nicolas-raoul/Anki-Android
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
15 lines (15 loc) · 741 Bytes
/
.travis.yml
File metadata and controls
15 lines (15 loc) · 741 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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"