mirror of
https://github.com/nextcloud/android.git
synced 2024-11-24 22:25:44 +03:00
use new emulator
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
44440f8f08
commit
2d0e924919
1 changed files with 5 additions and 5 deletions
10
.drone.yml
10
.drone.yml
|
@ -5,7 +5,7 @@ name: tests-stable
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: gplay
|
- name: gplay
|
||||||
image: nextcloudci/android:android-49
|
image: nextcloudci/android8:android-60
|
||||||
privileged: true
|
privileged: true
|
||||||
environment:
|
environment:
|
||||||
LOG_USERNAME:
|
LOG_USERNAME:
|
||||||
|
@ -18,7 +18,7 @@ steps:
|
||||||
from_secret: GIT_TOKEN
|
from_secret: GIT_TOKEN
|
||||||
commands:
|
commands:
|
||||||
- scripts/checkIfRunDrone.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST || exit 0
|
- scripts/checkIfRunDrone.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST || exit 0
|
||||||
- emulator-headless -avd android-27 -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
|
- emulator -avd android -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
|
||||||
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g src/main/res/values/setup.xml
|
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g src/main/res/values/setup.xml
|
||||||
- sed -i s"#server#server#" gradle.properties
|
- sed -i s"#server#server#" gradle.properties
|
||||||
- sed -i s"#1#5#" ./src/androidTest/java/com/nextcloud/client/RetryTestRule.kt
|
- sed -i s"#1#5#" ./src/androidTest/java/com/nextcloud/client/RetryTestRule.kt
|
||||||
|
@ -87,7 +87,7 @@ name: tests-master
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: gplay
|
- name: gplay
|
||||||
image: nextcloudci/android:android-49
|
image: nextcloudci/android8:android-60
|
||||||
privileged: true
|
privileged: true
|
||||||
environment:
|
environment:
|
||||||
LOG_USERNAME:
|
LOG_USERNAME:
|
||||||
|
@ -100,7 +100,7 @@ steps:
|
||||||
from_secret: GIT_TOKEN
|
from_secret: GIT_TOKEN
|
||||||
commands:
|
commands:
|
||||||
- scripts/checkIfRunDrone.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST || exit 0
|
- scripts/checkIfRunDrone.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST || exit 0
|
||||||
- emulator-headless -avd android-27 -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
|
- emulator -avd android -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
|
||||||
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g src/main/res/values/setup.xml
|
- sed -i s'#<bool name="is_beta">false</bool>#<bool name="is_beta">true</bool>#'g src/main/res/values/setup.xml
|
||||||
- sed -i s"#1#5#" ./src/androidTest/java/com/nextcloud/client/RetryTestRule.kt
|
- sed -i s"#1#5#" ./src/androidTest/java/com/nextcloud/client/RetryTestRule.kt
|
||||||
- ./gradlew assembleGplay
|
- ./gradlew assembleGplay
|
||||||
|
@ -171,7 +171,7 @@ name: analysis
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: analysis
|
- name: analysis
|
||||||
image: nextcloudci/android:android-49
|
image: nextcloudci/android8:android-60
|
||||||
environment:
|
environment:
|
||||||
GIT_USERNAME:
|
GIT_USERNAME:
|
||||||
from_secret: GIT_USERNAME
|
from_secret: GIT_USERNAME
|
||||||
|
|
Loading…
Reference in a new issue