forked from rapidftr/RapidFTR-Android
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci | Subhas | After hundreds of local commits, here is a single commi…
…t that runs complete android suite in travis
- Loading branch information
Subhas Dandapani
committed
Oct 23, 2012
1 parent
676acad
commit 46353d8
Showing
1 changed file
with
14 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
language: java | ||
env: | ||
- ANDROID_HOME=~/android-sdk-linux | ||
|
||
before_install: | ||
# download the latest android sdk and unzip | ||
- export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools | ||
- wget http://dl.google.com/android/android-sdk_r20.0.3-linux.tgz | ||
- tar -zxf android-sdk_r20.0.3-linux.tgz | ||
# setup your ANDROID_HOME and PATH environment variables | ||
# use ~/builds/[Github username]/[project]/android-sdk-linux | ||
- export ANDROID_HOME=~/builds/kishoreyekkanti/RapidFTR---Android/android-sdk_r20.0.3-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. 10 = 2.2 or API level 8 | ||
- android list sdk | ||
- android update sdk --filter 1,2,10 --no-ui --force | ||
- tar xfz android-sdk_r20.0.3-linux.tgz -C ~ | ||
- android update sdk --filter platform-tools,android-8,extra-android-support --no-ui --force | ||
- echo no | android create avd -n android2.2 -t android-8 --skin QVGA | ||
- mv $ANDROID_HOME/tools/emulator $ANDROID_HOME/tools/emulator-old | ||
- ln -s $ANDROID_HOME/tools/emulator-arm $ANDROID_HOME/tools/emulator | ||
|
||
install: echo | ||
script: mvn clean install | ||
|
||
notifications: | ||
irc: "irc.freenode.org#rapidftr" | ||
email: false | ||
irc: "irc.freenode.org#rapidftr" |