Browse Source

New .gitlab-ci.yml

pull/24/head
Ezerous 8 years ago
parent
commit
19e07c888b
  1. 5
      .gitlab-ci.yml

5
.gitlab-ci.yml

@ -8,7 +8,7 @@ variables:
before_script:
- apt-get --quiet update --yes
- apt-get --quiet install --yes wget tar unzip lib32stdc++6 lib32z1
- wget --quiet --output-document=android-sdk.tgz https://dl.google.com/android/android-sdk_r${ANDROID_SDK_TOOLS}-linux.tgz
- wget --quiet --output-document=android-sdk.tgz https://dl.google.com/android/repository/tools_r${ANDROID_SDK_TOOLS}-linux.zip
- tar --extract --gzip --file=android-sdk.tgz
- 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
@ -17,6 +17,7 @@ before_script:
- echo y | android-sdk-linux/tools/android --silent update sdk --no-ui --all --filter extra-google-google_play_services
- echo y | android-sdk-linux/tools/android --silent update sdk --no-ui --all --filter extra-google-m2repository
- export ANDROID_HOME=$PWD/android-sdk-linux
- export PATH=$PATH:$PWD/android-sdk-linux/platform-tools/
- chmod +x ./gradlew
build:
@ -24,4 +25,4 @@ build:
- ./gradlew assembleDebug
artifacts:
paths:
- app/build/outputs/
- app/build/outputs/

Loading…
Cancel
Save