mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 15:15:51 +03:00
Merge pull request #1103 from nextcloud/disableEmulator
Disable emulator as we currently do no instrumented tests
This commit is contained in:
commit
1912f7d6d2
2 changed files with 27 additions and 6 deletions
10
.drone.yml
10
.drone.yml
|
@ -5,9 +5,9 @@ pipeline:
|
|||
# uncomment gplay for Gplay, Modified only
|
||||
- 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
|
||||
- emulator -avd test -no-window &
|
||||
- ./wait_for_emulator.sh
|
||||
# - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI -c 20M
|
||||
# - emulator -avd test -no-window &
|
||||
# - ./wait_for_emulator.sh
|
||||
|
||||
# build app and assemble APK, in debug mode
|
||||
- ./gradlew assemble${FLAVOUR}
|
||||
|
@ -16,8 +16,8 @@ pipeline:
|
|||
# - ./gradlew connectedDebugAndroidTest --info
|
||||
|
||||
# install app, then assemble and install instrumented tests of app module
|
||||
- ./gradlew :install${FLAVOUR}Debug
|
||||
- ./gradlew :install${FLAVOUR}DebugAndroidTest
|
||||
# - ./gradlew :install${FLAVOUR}Debug
|
||||
# - ./gradlew :install${FLAVOUR}DebugAndroidTest
|
||||
|
||||
# run sample instrumented unit test
|
||||
# TODO fails because test runner is not available
|
||||
|
|
|
@ -1 +1,22 @@
|
|||
eyJhbGciOiJIUzI1NiJ9.cGlwZWxpbmU6CiAgdGVzdDoKICAgIGltYWdlOiBuZXh0Y2xvdWRjaS9hbmRyb2lkOmFuZHJvaWQtMTgKICAgIGNvbW1hbmRzOgogICAgICAjIHVuY29tbWVudCBncGxheSBmb3IgR3BsYXksIE1vZGlmaWVkIG9ubHkKICAgICAgLSBzaCAtYyAiaWYgWyAnJEZMQVZPVVInICE9ICdHZW5lcmljJyBdOyB0aGVuIHNlZCAt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hbmNoZXM6IG1hc3Rlcg.vRQiBogC3hjPLCVvLM0-Qrbvk4hnwKscwaPRBlyc8NM
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta content="width=device-width, initial-scale=1" name="viewport"/>
|
||||
<meta content="ie=edge" http-equiv="x-ua-compatible"/>
|
||||
<meta name="csrf-token" content="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZXh0IjoidG9iaWFzS2FtaW5za3kiLCJ0eXBlIjoiY3NyZiJ9.prE-2Gl0j_W5KkCmDdlV117apFcLwaMi-JOe1j0OQsc" />
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"/>
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono" rel="stylesheet"/>
|
||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"/>
|
||||
<link href="/static/app.css" rel="stylesheet"/>
|
||||
<link href="/static/favicon.ico" rel="icon" type="image/x-icon"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script>
|
||||
window.STATE_FROM_SERVER={"csrf":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZXh0IjoidG9iaWFzS2FtaW5za3kiLCJ0eXBlIjoiY3NyZiJ9.prE-2Gl0j_W5KkCmDdlV117apFcLwaMi-JOe1j0OQsc","user":{"id":9,"login":"tobiasKaminsky","email":"tobias@nextcloud.com","avatar_url":"https://avatars0.githubusercontent.com/u/5836855?v=3","active":false}};
|
||||
</script>
|
||||
<script src="https://code.getmdl.io/1.1.3/material.min.js"></script>
|
||||
<script src="/static/app.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue