|
@ -3,12 +3,12 @@ image: openjdk:8-jdk |
|
|
variables: |
|
|
variables: |
|
|
ANDROID_TARGET_SDK: "26" |
|
|
ANDROID_TARGET_SDK: "26" |
|
|
ANDROID_BUILD_TOOLS: "26.0.2" |
|
|
ANDROID_BUILD_TOOLS: "26.0.2" |
|
|
ANDROID_SDK_TOOLS: "3859397" |
|
|
ANDROID_SDK_TOOLS: "25.2.5" |
|
|
|
|
|
|
|
|
before_script: |
|
|
before_script: |
|
|
- apt-get --quiet update --yes |
|
|
- apt-get --quiet update --yes |
|
|
- apt-get --quiet install --yes wget tar unzip lib32stdc++6 lib32z1 |
|
|
- apt-get --quiet install --yes wget tar unzip lib32stdc++6 lib32z1 |
|
|
- wget --quiet --output-document=android-sdk.zip https://dl.google.com/android/repository/sdk-tools-linux-${ANDROID_SDK_TOOLS}.zip |
|
|
- wget --quiet --output-document=android-sdk.zip https://dl.google.com/android/repository/tools_r${ANDROID_SDK_TOOLS}-linux.zip |
|
|
- unzip android-sdk.zip -d android-sdk-linux |
|
|
- unzip android-sdk.zip -d android-sdk-linux |
|
|
- echo y | android-sdk-linux/tools/android --silent update sdk --no-ui --all --filter android-${ANDROID_TARGET_SDK} |
|
|
- echo y | android-sdk-linux/tools/android --silent update sdk --no-ui --all --filter android-${ANDROID_TARGET_SDK} |
|
|
- echo y | android-sdk-linux/tools/android --silent update sdk --no-ui --all --filter platform-tools |
|
|
- echo y | android-sdk-linux/tools/android --silent update sdk --no-ui --all --filter platform-tools |
|
|