wulkanowy-mod/.gitlab-ci.yml

31 lines
550 B
YAML
Raw Normal View History

2017-04-04 10:49:46 -05:00
image: registry.gitlab.com/showcheap/android-ci:T24-B25.0.1
before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
- chmod +x ./gradlew
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
functionalTests:
stage: test
script:
- ./gradlew check