forked from github/wulkanowy-mirror
Build and test app on gitlab ci
This commit is contained in:
parent
2152da687c
commit
528f20fd47
28
.gitlab-ci.yml
Normal file
28
.gitlab-ci.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user