Created
February 25, 2016 19:54
-
-
Save sjehutch/ea7fc34de3e171dc3cec to your computer and use it in GitHub Desktop.
travis.yml (android)
This file contains hidden or 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-21 ANDROID_ABI=armeabi-v7a | |
sudo: required | |
android: | |
components: | |
- platform-tools | |
- tools | |
- build-tools-23.0.1 | |
- extra-android-support | |
- extra-android-m2repository | |
- extra-google-google_play_services | |
- extra-google-m2repository | |
notifications: | |
notifications: | |
slack: alivedigital:(YOUR_SLACK_KEY) | |
# Emulator Management: Create, Start and Wait | |
before_script: | |
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI | |
- emulator -avd test -no-skin -no-audio -no-window & | |
- android-wait-for-emulator | |
- adb shell input keyevent 82 & | |
before_install: | |
- chmod a+x ./gradlew | |
- chmod a+x ./travis_upload_to_github.py | |
- chmod a+x ./hockeyapp.sh | |
- sudo apt-get update -qq | |
- sudo apt-get install -y python2.7 | |
script: ./gradlew assemble | |
after_success: | |
- ./hockeyapp.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment