disable emulator as we currently do no instrumented tests

This commit is contained in:
tobiasKaminsky 2017-06-22 09:51:35 +02:00
parent 0567679d39
commit ed201888fc
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -5,9 +5,9 @@ pipeline:
# uncomment gplay for Gplay, Modified only # uncomment gplay for Gplay, Modified only
- sh -c "if [ '$FLAVOUR' != 'Generic' ]; then sed -i '/com.google.*.gms/s/^.*\/\///g' build.gradle; fi" - sh -c "if [ '$FLAVOUR' != 'Generic' ]; then sed -i '/com.google.*.gms/s/^.*\/\///g' build.gradle; fi"
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI -c 20M # - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI -c 20M
- emulator -avd test -no-window & # - emulator -avd test -no-window &
- ./wait_for_emulator.sh # - ./wait_for_emulator.sh
# build app and assemble APK, in debug mode # build app and assemble APK, in debug mode
- ./gradlew assemble${FLAVOUR} - ./gradlew assemble${FLAVOUR}
@ -16,8 +16,8 @@ pipeline:
# - ./gradlew connectedDebugAndroidTest --info # - ./gradlew connectedDebugAndroidTest --info
# install app, then assemble and install instrumented tests of app module # install app, then assemble and install instrumented tests of app module
- ./gradlew :install${FLAVOUR}Debug # - ./gradlew :install${FLAVOUR}Debug
- ./gradlew :install${FLAVOUR}DebugAndroidTest # - ./gradlew :install${FLAVOUR}DebugAndroidTest
# run sample instrumented unit test # run sample instrumented unit test
# TODO fails because test runner is not available # TODO fails because test runner is not available