aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorVincent Breitmoser <valodim@mugenguild.com>2015-06-13 22:38:24 +0200
committerVincent Breitmoser <valodim@mugenguild.com>2015-06-17 18:52:05 +0200
commitd5998250462603fae5e51a21d7bef1d09e82a405 (patch)
treec058ff99e6fb5ae21ec398c4a986c950e36c5dcf /.travis.yml
parentd445b4d2e0ea44c5b01ec5461bfd6ec88476f7b1 (diff)
downloadopen-keychain-d5998250462603fae5e51a21d7bef1d09e82a405.tar.gz
open-keychain-d5998250462603fae5e51a21d7bef1d09e82a405.tar.bz2
open-keychain-d5998250462603fae5e51a21d7bef1d09e82a405.zip
add instrumentation tests
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml9
1 files changed, 8 insertions, 1 deletions
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