Loading .gitlab-ci.yml +13 −21 Original line number Diff line number Diff line image: registry.gitlab.com/bitfireat/davdroid:latest image: "registry.gitlab.eelo.io:5000/eelo/docker-android-apps-cicd:latest" stages: - build before_script: - git submodule update --init --recursive - export GRADLE_USER_HOME=`pwd`/.gradle; chmod +x gradlew - export GRADLE_USER_HOME=$(pwd)/.gradle - chmod +x ./gradlew cache: key: ${CI_PROJECT_ID} paths: - .gradle/ - apk/ test: script: - (cd /sdk/emulator; ./emulator @test -no-audio -no-window & wait-for-emulator.sh) - ./gradlew check mergeAndroidReports artifacts: paths: - app/build/outputs/lint-results-debug.html - app/build/reports - build/reports pages: build: stage: build script: - ./gradlew app:dokka - mkdir public && mv app/build/dokka public - ./gradlew assembleDebug artifacts: paths: - public only: - master-ose - app/build/outputs/apk/standard/debug/app-standard-debug.apk Loading
.gitlab-ci.yml +13 −21 Original line number Diff line number Diff line image: registry.gitlab.com/bitfireat/davdroid:latest image: "registry.gitlab.eelo.io:5000/eelo/docker-android-apps-cicd:latest" stages: - build before_script: - git submodule update --init --recursive - export GRADLE_USER_HOME=`pwd`/.gradle; chmod +x gradlew - export GRADLE_USER_HOME=$(pwd)/.gradle - chmod +x ./gradlew cache: key: ${CI_PROJECT_ID} paths: - .gradle/ - apk/ test: script: - (cd /sdk/emulator; ./emulator @test -no-audio -no-window & wait-for-emulator.sh) - ./gradlew check mergeAndroidReports artifacts: paths: - app/build/outputs/lint-results-debug.html - app/build/reports - build/reports pages: build: stage: build script: - ./gradlew app:dokka - mkdir public && mv app/build/dokka public - ./gradlew assembleDebug artifacts: paths: - public only: - master-ose - app/build/outputs/apk/standard/debug/app-standard-debug.apk