disable instrumentation tests in travis, it's just too slow

This commit is contained in:
Vincent Breitmoser 2015-06-17 05:29:00 +02:00
parent e3ed2c8e72
commit 9a82b33d16
1 changed files with 13 additions and 11 deletions

View File

@ -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