maze-generator/.drone.yml
Manuel Friedli 820521520a
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
Try not to deploy to the maven repo simply when a PR is open.
2022-02-02 01:12:31 +01:00

28 lines
565 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
trigger:
branch:
- master
event:
exclude:
- pull_request