Manuel Friedli
6904b602c1
All checks were successful
continuous-integration/drone/push Build is passing
26 lines
528 B
YAML
26 lines
528 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: test
|
|
image: maven:3.6-jdk-11
|
|
commands:
|
|
- mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
|
|
- mvn test -B
|
|
when:
|
|
branch:
|
|
include:
|
|
- master
|
|
- feature/*
|
|
- name: deploy
|
|
image: maven:3.6-jdk-11
|
|
environment:
|
|
REPO_TOKEN:
|
|
from_secret: repo-token
|
|
commands:
|
|
- mvn -s maven-settings.xml deploy -DskipTests=true
|
|
when:
|
|
branch:
|
|
include:
|
|
- master
|