Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Commit

Permalink
Update travis file to use emulator and run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
spacecowboy committed Jun 26, 2016
1 parent d60e28d commit 14b30b9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ android:
- build-tools-23.0.2
- build-tools-23.0.1
- android-23
- sys-img-x86-android-23
- extra-android-support
- extra-google-m2repository
- extra-android-m2repository
Expand All @@ -24,8 +25,15 @@ cache:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/

# Emulator Management: Create, Start and Wait
before_script:
- echo no | android create avd --force -n test -t android-23 --abi x86
- emulator -avd test -gpu off -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

0 comments on commit 14b30b9

Please sign in to comment.