Simple travis config

This commit is contained in:
Jonas Kalderstam 2015-08-21 01:16:46 +02:00
parent ad6d494f14
commit ce61dbb65b
1 changed files with 12 additions and 3 deletions

View File

@ -20,8 +20,17 @@ cache:
before_install:
- chmod +x gradlew
# - echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
# - emulator -avd test -no-skin -no-audio -no-window &
#before_script:
# # Make sure emulator has started before running tests
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
script:
- ./gradlew clean build check
- ./gradlew clean build connectedCheck
# connectedCheck
# - ./gradlew assembleDebug
# - ./gradlew connectedAndroidTestDebug --info