Skip to content

Commit

Permalink
Start running tests on Travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
mg6maciej committed Apr 4, 2015
1 parent a65172d commit 8149940
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
language: android

android:
components:
- tools
- platform-tools
- build-tools-22.0.1
- android-22
- sys-img-armeabi-v7a-android-16
- sys-img-armeabi-v7a-android-19

sudo: false

env:
matrix:
- ANDROID_TARGET=android-16 ANDROID_ABI=armeabi-v7a
- ANDROID_TARGET=android-19 ANDROID_ABI=armeabi-v7a

before_install:
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &

install:
- ./gradlew assemble

before_script:
- android-wait-for-emulator
- adb shell input keyevent 82

script:
- ./gradlew connectedAndroidTest

0 comments on commit 8149940

Please sign in to comment.