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: