diff --git a/.drone.yml b/.drone.yml index 2d324f3..f12168e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,17 +1,27 @@ kind: pipeline type: docker -name: 1 +name: masterpipe platform: os: linux arch: arm64 + +volumes: + - name: cache + host: + path: /var/lib/cache steps: - name: maven image: maven:3-jdk-10 + volumes: + - name: cache + path: /root/.m2 commands: - mvn compile - -- name: maven +- name: test image: maven:3-jdk-10 + volumes: + - name: cache + path: /root/.m2 commands: - mvn test