Merge branch 'improve-ci' of gitnex/GitNex into master
This commit is contained in:
commit
7fe376fa44
19
.drone.yml
19
.drone.yml
@ -1,5 +1,6 @@
|
|||||||
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: gitnex-ci
|
name: gitnex-ci-test
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
@ -8,15 +9,23 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- ./gradlew test
|
- ./gradlew test
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- pull_request
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: gitnex-ci-build
|
||||||
|
|
||||||
|
steps:
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: nextcloudci/android:android-49
|
image: nextcloudci/android:android-49
|
||||||
commands:
|
commands:
|
||||||
- ./gradlew build
|
- ./gradlew build
|
||||||
when:
|
|
||||||
branch:
|
|
||||||
- master
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
- pull_request
|
branch:
|
||||||
|
- master
|
||||||
|
Loading…
x
Reference in New Issue
Block a user