1
0
mirror of https://github.com/wulkanowy/wulkanowy.git synced 2024-11-10 03:21:11 -06:00
wulkanowy-mirror/.gitlab-ci.yml

36 lines
621 B
YAML
Raw Normal View History

2017-04-07 14:15:42 -05:00
image: registry.gitlab.com/showcheap/android-ci:T25-B25.0.2
2017-04-04 10:49:46 -05:00
before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
cache:
paths:
- .gradle/wrapper
- .gradle/caches
build:
stage: build
script:
- ./gradlew assembleDebug
2017-04-05 15:19:59 -05:00
- mv app/build/outputs/apk/app-debug.apk .
2017-04-04 10:49:46 -05:00
artifacts:
2017-04-05 15:19:59 -05:00
name: "${CI_PROJECT_NAME}_${CI_BUILD_REF_NAME}-${CI_BUILD_ID}"
2017-04-04 10:49:46 -05:00
paths:
2017-04-05 15:19:59 -05:00
- app-debug.apk
2017-04-04 10:49:46 -05:00
unitTests:
stage: test
script:
- ./gradlew test
2017-04-07 14:15:42 -05:00
artifacts:
paths:
- app/build/reports
2017-04-04 10:49:46 -05:00
functionalTests:
stage: test
script:
- ./gradlew check
2017-04-07 14:15:42 -05:00
artifacts:
paths:
- app/build/reports