-
Notifications
You must be signed in to change notification settings - Fork 110
/
.travis.yml
26 lines (23 loc) · 1.24 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
language: java
before_install:
- wget http://dl.google.com/android/android-sdk_r18-linux.tgz
- tar -zxf android-sdk_r18-linux.tgz
- export ANDROID_HOME=~/builds/Soomla/AndroidStore/android-sdk-linux
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
- android list sdk -a
- sudo android update sdk --filter 1,2,3 --no-ui --force
- sudo android list
- android update project --path ./SoomlaAndroidStore --target "HTC OpenSense SDK, Android API 15, revision 2"
#script: "sudo ./buildstuff.sh"
#language: java
#before_install:
# download the latest android sdk and unzip
# - wget http://dl.google.com/android/android-sdk_r18-linux.tgz
# - tar -zxf android-sdk_r18-linux.tgz
# setup your ANDROID_HOME and PATH environment variables
# use ~/builds/[Github username]/[project]/android-sdk-linux
# - export ANDROID_HOME=~/builds/leviwilson/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 --filter 1,2,15 --no-ui --force