2015-06-13 16:30:57 -04:00
|
|
|
language: android
|
2014-07-09 11:41:13 -04:00
|
|
|
jdk: openjdk7
|
2015-06-13 16:30:57 -04:00
|
|
|
android:
|
|
|
|
components:
|
|
|
|
- build-tools-22.0.1
|
|
|
|
- build-tools-21.1.2
|
|
|
|
- build-tools-21.1.1
|
|
|
|
- build-tools-19.1.0
|
|
|
|
- android-22
|
|
|
|
- android-21
|
|
|
|
- android-19
|
|
|
|
- platform-tools
|
|
|
|
- extra-android-support
|
|
|
|
- extra-android-m2repository
|
|
|
|
licenses:
|
|
|
|
- 'android-sdk-preview-license-52d11cd2'
|
|
|
|
- 'android-sdk-license-.+'
|
|
|
|
- 'google-gdk-license-.+'
|
2015-06-13 16:38:24 -04:00
|
|
|
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 &
|
2014-07-11 10:51:10 -04:00
|
|
|
script:
|
2015-06-13 17:17:39 -04:00
|
|
|
- ./gradlew
|
2015-06-13 16:38:24 -04:00
|
|
|
- ./gradlew testDebug
|
|
|
|
- ./gradlew jacocoTestReport coveralls
|
2015-06-13 17:17:39 -04:00
|
|
|
- android-wait-for-emulator && adb shell input keyevent 82 &
|
2015-06-13 16:38:24 -04:00
|
|
|
- ./gradlew connectedAndroidTest
|