Skip to content

Docker container containing tools for building android apps.

License

Notifications You must be signed in to change notification settings

IngenicsDigital/android-gitlab-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Docker container containing tools for building android apps.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published