try to move dependencies into docker container

This commit is contained in:
Morris Jobke 2016-09-19 16:40:28 +02:00
parent 484f7d8a08
commit 1bf872dcda
No known key found for this signature in database
GPG key ID: 9CE5ED29E7FCD38A
2 changed files with 4 additions and 3 deletions

View file

@ -1,6 +1,6 @@
pipeline:
test:
image: nextcloudci/android:android-1
image: nextcloudci/android:android-2
commands:
- 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 &
@ -15,7 +15,8 @@ pipeline:
- ./gradlew :installDebug
- ./gradlew :installDebugAndroidTest
# run sample instrumented unit test
- adb shell am instrument -w -e debug false -e class com.owncloud.android.datamodel.OCFileUnitTest com.owncloud.android.test/android.support.test.runner.AndroidJUnitRunner
# TODO fails because test runner is not available
#- 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:
- ANDROID_TARGET=android-23

View file

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-bin.zip