try Drone CI
This commit is contained in:
parent
fae4831cf9
commit
1c0b86ec84
2 changed files with 15 additions and 18 deletions
15
.drone.yml
Normal file
15
.drone.yml
Normal file
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
|
||||
platform:
|
||||
arch: amd64
|
||||
os: linux
|
||||
|
||||
steps:
|
||||
- name:
|
||||
image: xmartlabs/jenkins-android
|
||||
commands:
|
||||
- ./gradlew assembleDebug
|
||||
when:
|
||||
- push
|
|
@ -1,18 +0,0 @@
|
|||
image: openjdk:8-jdk
|
||||
|
||||
variables:
|
||||
GRADLE_VERSION: "3.3"
|
||||
|
||||
before_script:
|
||||
- ${GRADLE_HOME}/bin/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