Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

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

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages