travis: cleanup

This commit is contained in:
Andrea Torlaschi
2016-07-09 15:09:44 +02:00
parent 3b4f608ba1
commit 1a7a1f1a60

View File

@@ -1,10 +1,5 @@
language: android language: android
jdk: openjdk7 jdk: openjdk7
# env:
# global:
# - ANDROID_API_LEVEL=21
# - ANDROID_ABI=armeabi-v7a
# - ADB_INSTALL_TIMEOUT=8 # minutes (2 minutes by default)
# force non-container build # force non-container build
sudo: required sudo: required
@@ -21,14 +16,11 @@ before_install:
- cat /etc/hosts # optionally check the content *after* - cat /etc/hosts # optionally check the content *after*
android: android:
components: components:
- tools
- build-tools-23.0.2
- build-tools-23.0.1
- android-23
- android-22 - android-22
- android-21 - android-23
- android-19 - tools
- platform-tools - platform-tools
- build-tools-23.0.2
- extra-android-support - extra-android-support
- extra-android-m2repository - extra-android-m2repository
licenses: licenses:
@@ -36,13 +28,5 @@ android:
- 'android-sdk-license-.+' - 'android-sdk-license-.+'
- 'google-gdk-license-.+' - 'google-gdk-license-.+'
# 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: script:
# - ./gradlew connectedAndroidTest
- ./gradlew --stacktrace testDebug jacocoTestReport coveralls - ./gradlew --stacktrace testDebug jacocoTestReport coveralls