forked from leviwilson/android-travis-ci-example
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
12 lines (12 loc) · 750 Bytes
/
.travis.yml
File metadata and controls
12 lines (12 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
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
# use ~/builds/[Github username]/[project]/android-sdk-linux
- export ANDROID_HOME=~/builds/ksslng/android-travis-ci-example/android-sdk-linux
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
# only update the sdk for the tools and platform-tools (1,2) and whatever api level
# you are building for android (run "android list sdk" to get the full list. 9 = 2.3.3 or API level 10
- android update sdk --obsolete --filter 16,15,14,13,12,11,10,9,8,7,6,1,2,3,4 --no-ui --force