Update travis file

This commit is contained in:
Jonas Kalderstam 2016-06-26 23:36:24 +02:00
parent d60e28d8c3
commit fc0aed0f85
1 changed files with 10 additions and 1 deletions

View File

@ -9,6 +9,7 @@ android:
- build-tools-23.0.2
- build-tools-23.0.1
- android-23
# - sys-img-armeabi-v7a-android-23
- extra-android-support
- extra-google-m2repository
- extra-android-m2repository
@ -24,8 +25,16 @@ cache:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
# Emulator Management: Create, Start and Wait
#before_script:
# x86 requires kvm which is not available on travis containers
# - echo no | android create avd --force -n test -t android-23 --abi armeabi-v7a
# - emulator -avd test -gpu off -no-audio -no-window &
# - android-wait-for-emulator
# - adb shell input keyevent 82 &
before_install:
- chmod +x gradlew
script:
- ./gradlew build check
- ./gradlew build check #testDebugUnitTest connectedDebugAndroidTest