950f7b0cbc8bf4a32e8aa54c5f937b8b2ec1910b
[pub/Android/ownCloud.git] / .travis.yml
1 language: java
2 jdk: oraclejdk7
3 before_install:
4 # Install base Android SDK
5 - sudo apt-get update -qq
6 - sudo apt-get install -qq libstdc++6:i386 lib32z1
7 - export COMPONENTS=build-tools-18.1.0,android-16,android-17,android-19,sysimg-16,extra-android-support
8 - curl -L https://raw.github.com/embarkmobile/android-sdk-installer/master/android-sdk-installer | bash /dev/stdin --install=$COMPONENTS
9 - source ~/.android-sdk-installer/env
10
11 # Create and start emulator
12 - echo no | android create avd --force -n test -t android-16 --abi armeabi-v7a
13 - emulator -avd test -no-skin -no-audio -no-window &
14 - rm pom.xml
15 - ./setup_env.sh
16
17 before_script:
18 - wait_for_emulator
19
20 script:
21 - ant clean
22 - ant debug
23