Merge branch 'gitlab-ci-tests' into 'master'

troubleshoot flaky connected24 gitlab-ci test

See merge request !498
This commit is contained in:
Peter Serwylo 2017-05-02 01:06:46 +00:00
commit b7bdd40ab4
4 changed files with 8 additions and 4 deletions

View File

@ -56,9 +56,11 @@ connected24:
AVD_SDK: "24" AVD_SDK: "24"
script: script:
- ./gradlew assembleDebug -PdisablePreDex - ./gradlew assembleDebug -PdisablePreDex
- android list avd
- emulator64-arm -avd fcl-test-$AVD_SDK -no-audio -no-window & - emulator64-arm -avd fcl-test-$AVD_SDK -no-audio -no-window &
- ./tools/wait-for-emulator - ./tools/wait-for-emulator
- adb shell input keyevent 82 & - adb shell input keyevent 82 &
- adb devices
- export EXITVALUE=0 - export EXITVALUE=0
- ./gradlew connectedCheck -PdisablePreDex || { - ./gradlew connectedCheck -PdisablePreDex || {
adb -e logcat -d '*:E'; adb -e logcat -d '*:E';

View File

@ -3,7 +3,8 @@ buildscript {
jcenter() jcenter()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.2.0' // 2.2.2 is the version that is included in Debian/stretch
classpath 'com.android.tools.build:gradle:2.2.2'
classpath files('libs/gradle-witness.jar') classpath files('libs/gradle-witness.jar')
} }
} }

View File

@ -4,7 +4,8 @@ buildscript {
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:0.10.+' // 2.2.2 is the version that is included in Debian/stretch
classpath 'com.android.tools.build:gradle:2.2.2'
} }
} }

View File

@ -2,5 +2,5 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.1-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-3.2.1-bin.zip
distributionSha256Sum=c7de3442432253525902f7e8d7eac8b5fd6ce1623f96d76916af6d0e383010fc distributionSha256Sum=9843a3654d3e57dce54db06d05f18b664b95c22bf90c6becccb61fc63ce60689