1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-08 16:36:13 +00:00

Disable automated tests until ported to current Android testing environment

This commit is contained in:
David A. Velasco 2017-10-06 11:03:22 +02:00 committed by davigonz
parent 19cea29faf
commit 2dde542356

View File

@ -13,19 +13,22 @@ branches:
only: only:
- master - master
before_install: before_install:
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI # After Travis updated image with Android base environment, building via ant is not possible anymore.
# Library tests are old-style tests, and trust on legacy Android ant environment.
# Need to disable tests until they are ported to JUnit 4 and gradle build.
#- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
-c 20M -c 20M
- emulator -avd test -no-window & #- emulator -avd test -no-window &
- rm pom.xml - rm pom.xml
- android update project -p . #- android update project -p .
- chmod +x ./wait_for_emulator.sh #- chmod +x ./wait_for_emulator.sh
- ./wait_for_emulator.sh #- ./wait_for_emulator.sh
script: script:
- ant clean #- ant clean
- ant debug #- ant debug
- cd test_client/tests #- cd test_client/tests
- ant acceptance-test #- ant acceptance-test
- cd ../.. #- cd ../..
- ./gradlew clean build - ./gradlew clean build
env: env:
global: global: