Last active
December 2, 2016 10:02
-
-
Save jinqian/5010a75d89f8ca8d59fc55d0f2a610b2 to your computer and use it in GitHub Desktop.
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
before_script: | |
- apt-get --quiet update --yes | |
- apt-get --quiet install --yes wget tar unzip openjdk-7-jdk lib32stdc++6 lib32z1 | |
- wget --quiet --output-document=android-sdk.tgz https://dl.google.com/android/android-sdk_r24.4.1-linux.tgz | |
- tar --extract --gzip --file=android-sdk.tgz | |
- echo y | android-sdk-linux/tools/android --silent update sdk --no-ui --all --filter platform-tools,tools,build-tools-24.0.3,android-23,android-24,extra-android-m2repository, | |
- wget --quiet --output-document=gradle.zip https://services.gradle.org/distributions/gradle-2.14.1-bin.zip | |
- unzip -q gradle.zip | |
- export ANDROID_HOME=$PWD/android-sdk-linux |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment