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
|
||||
jdk: openjdk7
|
||||
# container based build, we don't need root anyways
|
||||
sudo: false
|
||||
env:
|
||||
global:
|
||||
- ANDROID_API_LEVEL=21
|
||||
- ANDROID_ABI=armeabi-v7a
|
||||
- ADB_INSTALL_TIMEOUT=8 # minutes (2 minutes by default)
|
||||
# env:
|
||||
# global:
|
||||
# - ANDROID_API_LEVEL=21
|
||||
# - ANDROID_ABI=armeabi-v7a
|
||||
# - ADB_INSTALL_TIMEOUT=8 # minutes (2 minutes by default)
|
||||
android:
|
||||
components:
|
||||
- build-tools-22.0.1
|
||||
@ -23,12 +24,13 @@ android:
|
||||
- 'android-sdk-license-.+'
|
||||
- 'google-gdk-license-.+'
|
||||
|
||||
before_script:
|
||||
- echo no | android create avd --force -n test -t android-$ANDROID_API_LEVEL --abi $ANDROID_ABI
|
||||
- emulator -avd test -no-skin -no-audio -no-window &
|
||||
- ./tools/android-wait-for-emulator
|
||||
- adb shell input keyevent 82 &
|
||||
# doesn't work, travis is just too slow
|
||||
# before_script:
|
||||
# - echo no | android create avd --force -n test -t android-$ANDROID_API_LEVEL --abi $ANDROID_ABI
|
||||
# - emulator -avd test -no-skin -no-audio -no-window &
|
||||
# - ./tools/android-wait-for-emulator
|
||||
# - adb shell input keyevent 82 &
|
||||
|
||||
script:
|
||||
- ./gradlew connectedAndroidTest
|
||||
# - ./gradlew connectedAndroidTest
|
||||
- ./gradlew testDebug jacocoTestReport coveralls
|
||||
|
Loading…
Reference in New Issue
Block a user