diff options
author | cyBerta <cyberta@riseup.net> | 2018-02-01 17:48:50 +0100 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2018-02-01 17:48:50 +0100 |
commit | 0161973d77ead085f99dc64d8a6dfb2ff3d192c0 (patch) | |
tree | e9f517c5794dac172b7cdaa468259d27a9219bf8 /.gitlab-ci.yml | |
parent | 6c9a6fae70ef35d2e04466f4118e1572b38bccfc (diff) | |
parent | a43778e930041ab26e4d70348553fb98c3f6872d (diff) |
Merge branch '#8818_tests_for_drawer' into #8832_update_ics-openvpn
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0edd09a9..fdcc6594 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -57,6 +57,43 @@ unit_test: script: - ./gradlew test +ui_test: + image: "0xacab.org:4567/leap/bitmask_android/android-emulator:latest" + stage: test + script: + - emulator -avd testApi27 -no-audio -no-window & + - .gitlab/wait-for-emulator.sh + - adb devices + - adb shell settings put global window_animation_scale 0 & + - adb shell settings put global transition_animation_scale 0 & + - adb shell settings put global animator_duration_scale 0 & + - adb shell input keyevent 82 & + - ./gradlew connectedAndroidTest + - adb -s testApi27 emu kill + +expanded_test: + image: "0xacab.org:4567/leap/bitmask_android/android-emulator:latest" + stage: test + script: + - emulator -avd testApi27 -no-audio -no-window & + - .gitlab/wait-for-emulator.sh + - adb devices + - adb shell settings put global window_animation_scale 0 & + - adb shell settings put global transition_animation_scale 0 & + - adb shell settings put global animator_duration_scale 0 & + - adb shell input keyevent 82 & + - ./gradlew connectedAndroidTest + - ./gradlew createProductionDebugCoverageReport + - adb -s testApi27 emu kill + - ./gradlew test + artifacts: + expire_in: 3 days + paths: + - app/build/reports/androidTests/connected/ + - app/build/reports/coverage/production/ + - app/build/tests/ + when: manual + build: image: "0xacab.org:4567/leap/bitmask_android/android-ndk:latest" stage: build |