Redirect output to /dev/null
This commit is contained in:
parent
14f01dc69b
commit
53d3f0c474
|
@ -7,13 +7,13 @@ variables:
|
|||
ANDROID_SDK_TOOLS: "4333796"
|
||||
|
||||
before_script:
|
||||
- apt-get update -y
|
||||
- DEBIAN_FRONTEND=noninteractive apt-get install -y wget tar unzip lib32stdc++6 lib32z1 openjdk-8-jre
|
||||
- wget --output-document=android-sdk.zip https://dl.google.com/android/repository/sdk-tools-linux-${ANDROID_SDK_TOOLS}.zip
|
||||
- unzip -d android-sdk-linux android-sdk.zip
|
||||
- echo y | android-sdk-linux/tools/bin/sdkmanager "platforms;android-${ANDROID_COMPILE_SDK}"
|
||||
- echo y | android-sdk-linux/tools/bin/sdkmanager "platform-tools"
|
||||
- echo y | android-sdk-linux/tools/bin/sdkmanager "build-tools;${ANDROID_BUILD_TOOLS}"
|
||||
- apt-get update -y --quiet
|
||||
- DEBIAN_FRONTEND=noninteractive apt-get install -y --quiet wget tar unzip lib32stdc++6 lib32z1 openjdk-8-jre
|
||||
- wget --quiet --output-document=android-sdk.zip https://dl.google.com/android/repository/sdk-tools-linux-${ANDROID_SDK_TOOLS}.zip
|
||||
- unzip -q -d android-sdk-linux android-sdk.zip
|
||||
- echo y | android-sdk-linux/tools/bin/sdkmanager "platforms;android-${ANDROID_COMPILE_SDK}" > /dev/null
|
||||
- echo y | android-sdk-linux/tools/bin/sdkmanager "platform-tools" > /dev/null
|
||||
- echo y | android-sdk-linux/tools/bin/sdkmanager "build-tools;${ANDROID_BUILD_TOOLS}" > /dev/null
|
||||
- export ANDROID_HOME=$PWD/android-sdk-linux
|
||||
- export PATH=$PATH:$PWD/android-sdk-linux/platform-tools/
|
||||
# temporarily disable checking for EPIPE error and use yes to accept all licenses
|
||||
|
|
Loading…
Reference in New Issue