From e8ca1060371c3b0ee37434c77dc60c1c5cbfb0ea Mon Sep 17 00:00:00 2001 From: Stefan Kalscheuer Date: Sun, 11 Nov 2018 16:45:59 +0100 Subject: [PATCH] Migrated Drone Matrix build to Multi-Machine pipeline --- .drone.yml | 43 +++++++++++++++++++++++++++++++------------ 1 file changed, 31 insertions(+), 12 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0377e11..e41c48f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,16 +1,35 @@ +kind: pipeline +name: java8 + clone: - git: - image: plugins/git - depth: 1 + disable: true + +steps: +- name: clone + image: plugins/git + settings: + depth: 10 skip_verify: true +- name: test + image: maven:3.5-jdk-8-alpine + commands: + - mvn clean test -pipeline: - test: - image: ${MVN_IMAGE} - commands: - - mvn clean test +--- +kind: pipeline +name: java11 + +clone: + disable: true + +steps: +- name: clone + image: plugins/git + settings: + depth: 10 + skip_verify: true +- name: test + image: maven:3.5-jdk-11-slim + commands: + - mvn clean test -matrix: - MVN_IMAGE: - - maven:3.5-jdk-8-alpine - - maven:3.5-jdk-11-slim