try Drone CI

This commit is contained in:
Schoumi 2019-09-23 17:32:11 +02:00
parent fae4831cf9
commit 1c0b86ec84
2 changed files with 15 additions and 18 deletions

15
.drone.yml Normal file
View 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

View file

@ -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/