1
0
mirror of https://github.com/wulkanowy/wulkanowy.git synced 2024-09-19 21:49:08 -05:00
wulkanowy-mirror/.gitlab-ci.yml
2017-04-19 21:59:14 +02:00

36 lines
621 B
YAML

image: registry.gitlab.com/showcheap/android-ci:T25-B25.0.2
before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
cache:
paths:
- .gradle/wrapper
- .gradle/caches
build:
stage: build
script:
- ./gradlew assembleDebug
- mv app/build/outputs/apk/app-debug.apk .
artifacts:
name: "${CI_PROJECT_NAME}_${CI_BUILD_REF_NAME}-${CI_BUILD_ID}"
paths:
- app-debug.apk
unitTests:
stage: test
script:
- ./gradlew test
artifacts:
paths:
- app/build/reports
functionalTests:
stage: test
script:
- ./gradlew check
artifacts:
paths:
- app/build/reports