Loading .gitlab-ci.yml +5 −4 Original line number Diff line number Diff line # based on https://about.gitlab.com/blog/2018/10/24/setting-up-gitlab-ci-for-android-projects/ .base: image: openjdk:8-jdk tags: - "openjdk8" variables: ANDROID_COMPILE_SDK: "28" Loading @@ -24,6 +21,7 @@ before_script: - set +o pipefail - yes | android-sdk-linux/tools/bin/sdkmanager --licenses - set -o pipefail - tags "openjdk8" stages: - build Loading @@ -33,6 +31,7 @@ lintDebug: stage: build script: - ./gradlew -Pci --console=plain :app:lintDebug -PbuildDir=lint - tags "openjdk8" assembleDebug: stage: build Loading @@ -41,8 +40,10 @@ assembleDebug: artifacts: paths: - app/build/outputs/ tags: "openjdk8" debugTests: stage: test script: - ./gradlew -Pci --console=plain :app:testDebug tags: "openjdk8" No newline at end of file Loading
.gitlab-ci.yml +5 −4 Original line number Diff line number Diff line # based on https://about.gitlab.com/blog/2018/10/24/setting-up-gitlab-ci-for-android-projects/ .base: image: openjdk:8-jdk tags: - "openjdk8" variables: ANDROID_COMPILE_SDK: "28" Loading @@ -24,6 +21,7 @@ before_script: - set +o pipefail - yes | android-sdk-linux/tools/bin/sdkmanager --licenses - set -o pipefail - tags "openjdk8" stages: - build Loading @@ -33,6 +31,7 @@ lintDebug: stage: build script: - ./gradlew -Pci --console=plain :app:lintDebug -PbuildDir=lint - tags "openjdk8" assembleDebug: stage: build Loading @@ -41,8 +40,10 @@ assembleDebug: artifacts: paths: - app/build/outputs/ tags: "openjdk8" debugTests: stage: test script: - ./gradlew -Pci --console=plain :app:testDebug tags: "openjdk8" No newline at end of file