From 21585aeed0ad3264ff5482396ff65597d691527e Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Fri, 31 Mar 2023 10:47:33 +0200 Subject: [PATCH] fix build spec --- .drone.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index fb4eef8..551b612 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,10 +2,18 @@ kind: pipeline type: docker name: default steps: - - name: test + - name: build image: maven:3.8-openjdk-18-slim commands: - mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V + when: + branch: + include: + - master + - feature/* + - name: test + image: maven:3.8-openjdk-18-slim + commands: - mvn test -B when: branch: