Add .gitlab-ci.yml
This commit is contained in:
parent
c28ef0a933
commit
d64e978a31
1 changed files with 18 additions and 0 deletions
18
.gitlab-ci.yml
Normal file
18
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
image: openjdk:8-jdk
|
||||
|
||||
variables:
|
||||
GRADLE_VERSION: "2.14.1"
|
||||
|
||||
before_script:
|
||||
- gradle wrapper --gradle-version ${GRADLE_VERSION} -Dcom.android.build.gradle.overrideVersionCheck=true
|
||||
|
||||
stages:
|
||||
- build
|
||||
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- ./gradlew assembleDebug
|
||||
artifacts:
|
||||
paths:
|
||||
- app/build/outputs/
|
Loading…
Reference in a new issue