support drone
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details

This commit is contained in:
LingZhaoHui 2022-05-03 19:02:06 +08:00
parent 3ee26075c6
commit b9a4ec0855
1 changed files with 24 additions and 0 deletions

24
.drone.yml Normal file
View File

@ -0,0 +1,24 @@
kind: pipeline
type: docker
name: default
steps:
- name: build
image: maven
volumes:
- name: cache
path: /root/.m2
commands:
- mvn clean install -DskipTests
trigger:
branch:
- master
event:
- pull_request
- push
volumes:
- name: cache
host:
path: /root/.m2