image: registry.gitlab.com/hardysim/android-ci:latest
cache:
paths:
- .gradle/wrapper
- .gradle/caches
- .android/build-cache/
before_script:
# move gradle-cache and android-build-cache to folders inside the build-folder so it can be used by the GitLab CI cache
# http://stackoverflow.com/a/36050711/2170109
# https://developer.android.com/studio/build/build-cache.html
- export GRADLE_USER_HOME=.gradle
- export ANDROID_SDK_HOME=$CI_PROJECT_DIR
# make gradle executable
- chmod +x ./gradlew
build:
stage: build
script:
- ./gradlew assemble
test:
stage: test
script:
- ./gradlew check
-
Notifications
You must be signed in to change notification settings - Fork 0
vclub/android-ci
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Packages 0
No packages published