Skip to content

Commit

Permalink
ci | Subhas | After hundreds of local commits, here is a single commi…
Browse files Browse the repository at this point in the history
…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.
25 changes: 14 additions & 11 deletions .travis.yml
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"

0 comments on commit 46353d8

Please sign in to comment.