Sign inSign up

pixelgroup/android-gitlab-ci

By pixelgroup

Updated over 7 years ago

Docker container containing tools for building android apps.

Image
0

303

pixelgroup/android-gitlab-ci repository overview

Gitlab CI build environment for Android

Build environment for building android apps with Gitlab CI.

Usage

Add following gitlab ci configuration to your android project.

.gitlab-ci.yml
--------------
image: pixelgroup/android-gitlab-ci:latest

before_script:
  - export GRADLE_USER_HOME=$(pwd)/.gradle
  - chmod +x ./gradlew

cache:
  key: ${CI_PROJECT_ID}
  paths:
  - .gradle/

stages:
  - build
  - test

unitTests:
  stage: test
  script:
    - ./gradlew test

instrumentedTests:
  stage: test
  script:
    - prepareAndroidEmulator.sh
    - adb shell input keyevent 82
    - ./gradlew connectedCheck

Tag summary

Content type

Image

Digest

Size

1.4 GB

Last updated

over 7 years ago

docker pull pixelgroup/android-gitlab-ci