Skip to content

Instantly share code, notes, and snippets.

@kunny kunny/.config.yml
Created Apr 17, 2014

Embed
What would you like to do?
travis : android envsetup
env:
- TERM=dumb
before_install:
# Install base Android SDK
- sudo apt-get update -qq
- if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch > /dev/null; fi
- wget http://dl.google.com/android/android-sdk_r22.3-linux.tgz
- tar xzf android-sdk_r22.3-linux.tgz
- export ANDROID_HOME=$PWD/android-sdk-linux
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
# Install required components.
# For a full list, run `android list sdk -a --extended`
# Note that sysimg-19 downloads only ARM, because only the first license query is accepted.
- echo yes | android update sdk --filter platform-tools --no-ui --force > /dev/null
- echo yes | android update sdk --filter android-19 --no-ui --force > /dev/null
- echo yes | android update sdk --filter extra-android-support --no-ui --force > /dev/null
- echo yes | android update sdk --filter extra-android-m2repository --no-ui --force > /dev/null
# Google play services
- echo yes | android update sdk --filter extra-google-google_play_services --no-ui --force > /dev/null
# Google Repository
- echo yes | android update sdk --filter extra-google-m2repository --no-ui --force > /dev/null
# Android SDK Build-tools
- echo yes | android update sdk --all --filter build-tools-19.0.3 --no-ui --force > /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.