Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- language: android
- jdk: oraclejdk7
- android:
- components:
- # Uncomment the lines below if you want to
- # use the latest revision of Android SDK Tools
- # - platform-tools
- # - tools
- # The BuildTools version used by your project
- - build-tools-22.0.1
- # The SDK version used to compile your project
- - android-22
- # Additional components
- - extra-google-google_play_services
- - extra-google-m2repository
- - extra-android-m2repository
- # - addon-google_apis-google-19
- # - add-on
- # - extra
- # Specify at least one system image,
- # if you need to run emulator(s) during your tests
- - sys-img-armeabi-v7a-android-21
- # - sys-img-x86-android-17
- licenses:
- - 'android-sdk-license-.+'
- # Emulator Management: Create, Start and Wait
- 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 &
- - adb wait-for-device
- - adb shell input keyevent 82 &
- script:
- - android list target
- - ./gradlew connectedAndroidTest
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement