Skip to content

Commit

Permalink
A configuration to permit travis to install the android SDK before ru…
Browse files Browse the repository at this point in the history
…nning continuous build.
  • Loading branch information
cgruber committed Jun 12, 2013
1 parent 39eef5a commit 5a15b9e
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
language: java

install: mvn install clean -P!android --fail-never --quiet -DskipTests=true -Dinvoker.skip=true
script: mvn verify -P!android
jdk:
- oraclejdk7
- openjdk7

before_install:
- sudo apt-get update -qq
- if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch; fi
- wget http://dl.google.com/android/android-sdk_r21.0.1-linux.tgz
- echo "Installing android SDK into ${PWD}/android-sdk-linux"
- tar -xzf android-sdk_r21.0.1-linux.tgz
- export ANDROID_HOME=${PWD}/android-sdk-linux
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
- android update sdk --filter platform-tools,android-16,extra-android-support,android-17,sysimg-17 --no-ui --force

install: mvn install clean --fail-never --quiet -DskipTests=true -Dinvoker.skip=true

script: mvn verify

notifications:
email: false
Expand Down

0 comments on commit 5a15b9e

Please sign in to comment.