Run test on Travis
@@ -20,5 +20,13 @@ sudo: required #The build runs out of memory and is killed if we use the contain
before_install:
- yes | sdkmanager "platforms;android-28"
+before_script:
+ - echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a -c 100M
+ - emulator -avd test -no-audio -no-window &
+ - android-wait-for-emulator
+ - adb shell input keyevent 82 &
+
script:
- ./gradlew clean build
+ - ./gradlew test
+ - ./gradlew connectedCheck
