Skip to content

Instantly share code, notes, and snippets.

@Pygmalion69
Created January 18, 2018 13:08
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Pygmalion69/662bbb999a2d2275db5c6ca1ce006233 to your computer and use it in GitHub Desktop.
Android .travis.yml
language: android
android:
components:
- tools # to get the new `repository-11.xml`
- tools # see https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943)
- platform-tools
- build-tools-26.0.2
- android-22
- android-26
- sys-img-armeabi-v7a-android-22
jdk:
- oraclejdk8
before_install:
- chmod +x gradlew
before_script:
- echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a
- emulator -avd test -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment