From: Thomas Müller Date: Thu, 13 Mar 2014 10:01:19 +0000 (+0100) Subject: Merge branch 'develop' into introduce-travis-ci X-Git-Tag: oc-android-1.5.5~12^2~4 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/c0b85157a9c44a6374e749984e8a55d45868998f?hp=b2319515851fbe8b97dfb1b645555da6ae0de33e Merge branch 'develop' into introduce-travis-ci --- diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..7cffca08 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,22 @@ +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,android-17,android-19,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: + - ./setup_env.sh + - ant clean + - ant debug +