use android-42

This commit is contained in:
Andy Scherzinger 2018-09-25 13:12:00 +02:00 committed by GitHub
parent 641895c0d5
commit 91e300cb68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
pipeline: pipeline:
compile: compile:
image: nextcloudci/android:android-40 image: nextcloudci/android:android-42
commands: commands:
# build app and assemble APK # build app and assemble APK
- sh -c "if [ '${FLAVOR}' != 'Analysis' ]; then ./gradlew assemble${FLAVOR}; fi" - sh -c "if [ '${FLAVOR}' != 'Analysis' ]; then ./gradlew assemble${FLAVOR}; fi"
@ -9,7 +9,7 @@ pipeline:
FLAVOR: [Generic, Gplay] FLAVOR: [Generic, Gplay]
test: test:
image: nextcloudci/android:android-40 image: nextcloudci/android:android-42
privileged: true privileged: true
commands: commands:
- emulator -avd android-27 -no-window -no-audio & - emulator -avd android-27 -no-window -no-audio &
@ -27,7 +27,7 @@ pipeline:
FLAVOR: Gplay FLAVOR: Gplay
analysis: analysis:
image: nextcloudci/android:android-40 image: nextcloudci/android:android-42
commands: commands:
- export BRANCH=$(scripts/analysis/getBranchName.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST) - export BRANCH=$(scripts/analysis/getBranchName.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST)
- scripts/analysis/analysis-wrapper.sh $GIT_USERNAME $GIT_TOKEN $BRANCH $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER $DRONE_PULL_REQUEST - scripts/analysis/analysis-wrapper.sh $GIT_USERNAME $GIT_TOKEN $BRANCH $LOG_USERNAME $LOG_PASSWORD $DRONE_BUILD_NUMBER $DRONE_PULL_REQUEST