Commit af2c1b3f authored by Phil Höfer's avatar Phil Höfer
Browse files

Remove Android CI

parent b07bf5f2
# Read more about this script on this blog post https://about.gitlab.com/2016/11/30/setting-up-gitlab-ci-for-android-projects/, by Greyson Parrelli
image: openjdk:8-jdk image: openjdk:8-jdk
variables:
ANDROID_COMPILE_SDK: "26"
ANDROID_BUILD_TOOLS: "26.0.0"
ANDROID_SDK_TOOLS: "24.4.1"
before_script: before_script:
- curl -sL https://deb.nodesource.com/setup_6.x | bash - - curl -sL https://deb.nodesource.com/setup_6.x | bash -
- apt-get --quiet update --yes - apt-get --quiet update --yes
...@@ -24,22 +18,3 @@ build-browser: ...@@ -24,22 +18,3 @@ build-browser:
artifacts: artifacts:
paths: paths:
- platforms/browser/www/ - platforms/browser/www/
build-android:
stage: build
script:
- apt-get --quiet install --yes wget tar unzip lib32stdc++6 lib32z1 curl gradle
- wget --quiet --output-document=android-sdk.tgz https://dl.google.com/android/android-sdk_r${ANDROID_SDK_TOOLS}-linux.tgz
- tar --extract --gzip --file=android-sdk.tgz
- echo y | android-sdk-linux/tools/android --silent update sdk --no-ui --all --filter android-${ANDROID_COMPILE_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 build-tools-${ANDROID_BUILD_TOOLS}
- echo y | android-sdk-linux/tools/android --silent update sdk --no-ui --all --filter extra-android-m2repository
- 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/
- cordova build android
artifacts:
paths:
- platforms/android/build/outputs/
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment