mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-12-17 21:02:17 -05:00
disable instrumentation tests in travis, it's just too slow
This commit is contained in:
parent
e3ed2c8e72
commit
9a82b33d16
24
.travis.yml
24
.travis.yml
@ -1,11 +1,12 @@
|
|||||||
language: android
|
language: android
|
||||||
jdk: openjdk7
|
jdk: openjdk7
|
||||||
|
# container based build, we don't need root anyways
|
||||||
sudo: false
|
sudo: false
|
||||||
env:
|
# env:
|
||||||
global:
|
# global:
|
||||||
- ANDROID_API_LEVEL=21
|
# - ANDROID_API_LEVEL=21
|
||||||
- ANDROID_ABI=armeabi-v7a
|
# - ANDROID_ABI=armeabi-v7a
|
||||||
- ADB_INSTALL_TIMEOUT=8 # minutes (2 minutes by default)
|
# - ADB_INSTALL_TIMEOUT=8 # minutes (2 minutes by default)
|
||||||
android:
|
android:
|
||||||
components:
|
components:
|
||||||
- build-tools-22.0.1
|
- build-tools-22.0.1
|
||||||
@ -23,12 +24,13 @@ android:
|
|||||||
- 'android-sdk-license-.+'
|
- 'android-sdk-license-.+'
|
||||||
- 'google-gdk-license-.+'
|
- 'google-gdk-license-.+'
|
||||||
|
|
||||||
before_script:
|
# doesn't work, travis is just too slow
|
||||||
- echo no | android create avd --force -n test -t android-$ANDROID_API_LEVEL --abi $ANDROID_ABI
|
# before_script:
|
||||||
- emulator -avd test -no-skin -no-audio -no-window &
|
# - echo no | android create avd --force -n test -t android-$ANDROID_API_LEVEL --abi $ANDROID_ABI
|
||||||
- ./tools/android-wait-for-emulator
|
# - emulator -avd test -no-skin -no-audio -no-window &
|
||||||
- adb shell input keyevent 82 &
|
# - ./tools/android-wait-for-emulator
|
||||||
|
# - adb shell input keyevent 82 &
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./gradlew connectedAndroidTest
|
# - ./gradlew connectedAndroidTest
|
||||||
- ./gradlew testDebug jacocoTestReport coveralls
|
- ./gradlew testDebug jacocoTestReport coveralls
|
||||||
|
Loading…
Reference in New Issue
Block a user