mirror of
https://github.com/nextcloud/android.git
synced 2024-11-25 22:55:46 +03:00
23 lines
761 B
YAML
23 lines
761 B
YAML
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
|
|
script:
|
|
- ./setup_env.sh
|
|
- ant clean
|
|
- ant debug
|
|
|