Merge branch 'improve-ci' of gitnex/GitNex into master

This commit is contained in:
6543 2019-10-14 10:02:31 +00:00 committed by Gitea
commit 7fe376fa44

View File

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