|
@@ -1,9 +1,9 @@
|
|
pipeline:
|
|
pipeline:
|
|
test:
|
|
test:
|
|
- image: nextcloudci/android:android-2
|
|
|
|
|
|
+ image: nextcloudci/android:android-7
|
|
commands:
|
|
commands:
|
|
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI -c 20M
|
|
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI -c 20M
|
|
- - emulator -avd test -no-skin -no-audio -no-window &
|
|
|
|
|
|
+ - emulator -avd test -no-window &
|
|
- ./wait_for_emulator.sh
|
|
- ./wait_for_emulator.sh
|
|
# build app and assemble APK, in debug mode
|
|
# build app and assemble APK, in debug mode
|
|
- ./gradlew assembleDebug
|
|
- ./gradlew assembleDebug
|
|
@@ -19,6 +19,6 @@ pipeline:
|
|
#- adb shell am instrument -w -e debug false -e class com.owncloud.android.datamodel.OCFileUnitTest com.owncloud.android.test/android.support.test.runner.AndroidJUnitRunner
|
|
#- adb shell am instrument -w -e debug false -e class com.owncloud.android.datamodel.OCFileUnitTest com.owncloud.android.test/android.support.test.runner.AndroidJUnitRunner
|
|
|
|
|
|
environment:
|
|
environment:
|
|
- - ANDROID_TARGET=android-23
|
|
|
|
|
|
+ - ANDROID_TARGET=android-24
|
|
- ANDROID_ABI=armeabi-v7a
|
|
- ANDROID_ABI=armeabi-v7a
|
|
- LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:/opt/android-sdk-linux/tools/lib64/gles_mesa/
|
|
- LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:/opt/android-sdk-linux/tools/lib64/gles_mesa/
|