From b9a4ec0855fccf306be488303252b7c0b2aedd73 Mon Sep 17 00:00:00 2001 From: zeekling Date: Tue, 3 May 2022 19:02:06 +0800 Subject: [PATCH] support drone --- .drone.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..7639959 --- /dev/null +++ b/.drone.yml @@ -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