HUB
Sign inSign up
android-gitlab-ci logo

pixelgroup/android-gitlab-ci

By pixelgroup

•Updated almost 8 years ago

Docker container containing tools for building android apps.

Image
0

332

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
Recent tags
Content type
Image
Digest
Size
1.4 GB
Last updated
almost 8 years ago
docker pull pixelgroup/android-gitlab-ci:latest