Commit 778e83bf authored by Bruno Agrizzi's avatar Bruno Agrizzi

Ajustando Funcional Test.

parent 809f04df
......@@ -25,19 +25,18 @@ build:
- app/build/outputs/
unitTests:
tags:
- android
stage: test
script:
- ./gradlew test
functionalTests:
tags:
- android
stage: test
script:
- wget --quiet --output-document=android-wait-for-emulator https://raw.githubusercontent.com/travis-ci/travis-cookbooks/0f497eb71291b52a703143c5cd63a217c8766dc9/community-cookbooks/android-sdk/files/default/android-wait-for-emulator
- chmod +x android-wait-for-emulator
- android-sdk-linux/tools/emulator64-x86 -avd test -no-window -no-audio &
- echo y | $ANDROID_HOME/tools/bin/sdkmanager --silent update sdk --no-ui --all --filter sys-img-x86-google_apis-${ANDROID_COMPILE_SDK}
- echo no | $ANDROID_HOME/tools/bin/sdkmanager create avd -n test -t android-${ANDROID_COMPILE_SDK} --abi google_apis/x86
- $ANDROID_HOME/tools/bin/sdkmanager/emulator64-x86 -avd test -no-window -no-audio &
- ./android-wait-for-emulator
- adb shell input keyevent 82
- ./gradlew cAT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment