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

View File

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