Created
May 1, 2014 19:49
-
-
Save austynmahoney/506e467fc3a5325cf909 to your computer and use it in GitHub Desktop.
Example Travis build script using their new Android build environment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: android | |
jdk: oraclejdk7 | |
env: | |
matrix: | |
- ANDROID_TARGET=android-19 ANDROID_ABI=armeabi-v7a | |
android: | |
components: | |
- platform-tools | |
- build-tools-19.0.3 | |
- android-19 | |
- sysimg-19 | |
- extra-android-support | |
- extra-google-m2repository | |
- extra-android-m2repository | |
licenses: | |
- android-sdk-license-bcbbd656 | |
- '.*intel.+' | |
install: | |
- true | |
before_script: | |
# Create and start emulator | |
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI | |
- emulator -avd test -no-skin -no-audio -no-window & | |
- adb wait-for-device | |
- adb shell input keyevent 82 & | |
script: | |
- TERM=dumb ./gradlew connectedCheck -PdisablePreDex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment