1
0
mirror of https://github.com/wulkanowy/wulkanowy.git synced 2024-09-19 23:19:09 -05:00

Build and test app on gitlab ci

This commit is contained in:
mklkj 2017-04-04 15:49:46 +00:00 committed by RicomenPL
parent 2152da687c
commit 528f20fd47

28
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,28 @@
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
artifacts:
paths:
- app/build/outputs/
unitTests:
stage: test
script:
- ./gradlew test
functionalTests:
stage: test
script:
- ./gradlew check