Advertisement
Guest User

Untitled

a guest
Jul 10th, 2015
354
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.10 KB | None | 0 0
  1. language: android
  2. jdk: oraclejdk7
  3.  
  4. android:
  5.   components:
  6.    # Uncomment the lines below if you want to
  7.     # use the latest revision of Android SDK Tools
  8.     # - platform-tools
  9.     # - tools
  10.  
  11.     # The BuildTools version used by your project
  12.     - build-tools-22.0.1
  13.  
  14.     # The SDK version used to compile your project
  15.     - android-22
  16.  
  17.     # Additional components
  18.     - extra-google-google_play_services
  19.     - extra-google-m2repository
  20.     - extra-android-m2repository
  21.     # - addon-google_apis-google-19
  22.     # - add-on
  23.     # - extra
  24.  
  25.     # Specify at least one system image,
  26.     # if you need to run emulator(s) during your tests
  27.     - sys-img-armeabi-v7a-android-21
  28.     # - sys-img-x86-android-17
  29.  
  30.   licenses:
  31.    - 'android-sdk-license-.+'
  32.  
  33.   # Emulator Management: Create, Start and Wait
  34.   before_script:
  35.    - echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a
  36.     - emulator -avd test -no-skin -no-audio -no-window &
  37.     - adb wait-for-device
  38.     - adb shell input keyevent 82 &
  39.  
  40.   script:
  41.    - android list target
  42.     - ./gradlew connectedAndroidTest
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement