Commit 41097d5e authored by Bruno Agrizzi's avatar Bruno Agrizzi

Com tag sdk-25 e avd manager e emulator corrigido.

parent 33e6f892
image: jerbob92/gitlab-ci-android:latest
image: jerbob92/gitlab-ci-android:sdk-25
stages:
- build
......@@ -20,7 +20,7 @@ build:
stage: build
script:
- ./gradlew assembleDebug
- ./gradlew assembleDebugAndroidTest
#- ./gradlew assembleDebugAndroidTest
artifacts:
paths:
- app/build/outputs/
......@@ -30,8 +30,8 @@ test:
- android
stage: test
script:
- echo "no" | /sdk/tools/android create avd -f -n test -t android-23 --abi "google_apis/x86" -s WXGA720
- echo "no" | /sdk/tools/emulator64-x86 -avd test -wipe-data -noaudio -no-window -gpu off -verbose -qemu -usbdevice tablet -vnc :2 &
- echo "no" | /sdk/tools/bin/avdmanager create avd -f -n test -t android-23 --abi "google_apis/x86" -s WXGA720
- echo "no" | /sdk/tools/emulator -avd test -wipe-data -noaudio -no-window -gpu off -verbose -qemu -usbdevice tablet -vnc :2 &
- /helpers/wait-for-avd-boot.sh
- /sdk/platform-tools/adb install -r app/build/outputs/apk/app-debug.apk
- /sdk/platform-tools/adb install -r app/build/outputs/apk/app-debug-androidTest-unaligned.apk
......
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