Commit 66b6129d authored by Bruno Agrizzi's avatar Bruno Agrizzi

acertando teste funcional.

parent f57508bc
...@@ -16,7 +16,6 @@ build: ...@@ -16,7 +16,6 @@ build:
- master - master
stage: build stage: build
script: script:
- echo $ANDROID_HOME
- chmod +x ./gradlew - chmod +x ./gradlew
- apk add --no-cache bash - apk add --no-cache bash
- ./gradlew assembleDebug - ./gradlew assembleDebug
...@@ -31,6 +30,8 @@ unitTests: ...@@ -31,6 +30,8 @@ unitTests:
- master - master
stage: test stage: test
script: script:
- chmod +x ./gradlew
- apk add --no-cache bash
- ./gradlew test - ./gradlew test
functionalTests: functionalTests:
...@@ -43,7 +44,7 @@ functionalTests: ...@@ -43,7 +44,7 @@ functionalTests:
- 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 - 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 - chmod +x android-wait-for-emulator
- echo y | $ANDROID_HOME/tools/bin/sdkmanager "system-images;android-23;google_apis;x86" - echo y | $ANDROID_HOME/tools/bin/sdkmanager "system-images;android-23;google_apis;x86"
- echo no | $ANDROID_HOME/tools/bin/sdkmanager create avd -n test -t android-23 --abi google_apis/x86 - echo no | $ANDROID_HOME/tools/bin/sdkmanager create avd -n test -t android-23
- $ANDROID_HOME/tools/emulator64-x86 -avd test -no-window -no-audio & - $ANDROID_HOME/tools/emulator64-x86 -avd test -no-window -no-audio &
- ./android-wait-for-emulator - ./android-wait-for-emulator
- adb shell input keyevent 82 - adb shell input keyevent 82
......
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