forked from github/wulkanowy-mirror
Merge branch 'autobuild' into 'master'
Build and test app on gitlab ci See merge request !1
This commit is contained in:
commit
31550e19c3
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