From cfaecf568bad7b64c4f0a2952cd28cd7b6d5f42d Mon Sep 17 00:00:00 2001 From: Vincent Breitmoser Date: Sat, 13 Jun 2015 22:38:24 +0200 Subject: [PATCH] add instrumentation tests --- .travis.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index abbd49614..fa5ceb04c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,5 +16,12 @@ android: - 'android-sdk-preview-license-52d11cd2' - 'android-sdk-license-.+' - 'google-gdk-license-.+' +before_script: + - echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a + - emulator -avd test -no-skin -no-audio -no-window & + - android-wait-for-emulator script: - - ./gradlew testDebug jacocoTestReport coveralls --info + - ./gradlew compileDebug + - ./gradlew testDebug + - ./gradlew jacocoTestReport coveralls + - ./gradlew connectedAndroidTest