Commit d6f27b24 authored by Ari Trachtenberg's avatar Ari Trachtenberg
Browse files

Update .gitlab-ci.yml file

parent 6d5136a7
Loading
Loading
Loading
Loading
Loading
+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"
@@ -24,6 +21,7 @@ before_script:
  - set +o pipefail
  - yes | android-sdk-linux/tools/bin/sdkmanager --licenses
  - set -o pipefail
  - tags "openjdk8"

stages:
  - build
@@ -33,6 +31,7 @@ lintDebug:
  stage: build
  script:
    - ./gradlew -Pci --console=plain :app:lintDebug -PbuildDir=lint
    - tags "openjdk8"

assembleDebug:
  stage: build
@@ -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