From: Thomas Müller Date: Tue, 21 Jan 2014 16:16:57 +0000 (+0100) Subject: Starting off with travis-ci integration based on https://github.com/embarkmobile... X-Git-Tag: oc-android-1.5.5~12^2~8 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/df218f99b872ef59fd51952709c00903545cbb3f?ds=inline;hp=-c Starting off with travis-ci integration based on https://github.com/embarkmobile/android-maven-example/blob/master/.travis.yml --- df218f99b872ef59fd51952709c00903545cbb3f diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..98743af6 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,19 @@ +language: java +jdk: oraclejdk7 +before_install: + # Install base Android SDK + - sudo apt-get update -qq + - sudo apt-get install -qq libstdc++6:i386 lib32z1 + - export COMPONENTS=build-tools-18.1.0,android-16,sysimg-16,extra-android-support + - curl -L https://raw.github.com/embarkmobile/android-sdk-installer/master/android-sdk-installer | bash /dev/stdin --install=$COMPONENTS + - source ~/.android-sdk-installer/env + + # Create and start emulator + - echo no | android create avd --force -n test -t android-16 --abi armeabi-v7a + - emulator -avd test -no-skin -no-audio -no-window & + +before_script: + - wait_for_emulator + +script: mvn install -Pintegration-tests -Dandroid.device=test +