From c34a928e5eb316218ad509574a17f8344518e406 Mon Sep 17 00:00:00 2001 From: Tim Kluge <tim.kluge1@tu-dresden.de> Date: Mon, 26 Apr 2021 13:15:30 +0000 Subject: [PATCH] Add .gitlab-ci.yml --- .gitlab-ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..ed68904 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,26 @@ +default: + image: maven:latest + +stages: + - build + - test + - diff + +build: + stage: build + image: maven:latest + script: + - mvn compile + +test: + stage: test + image: maven:3.6-jdk-8 + script: + - mvn test + +deploy: + image: maven:3.6-jdk-8 + script: + - 'mvn deploy -s ci_settings.xml' + only: + - master -- GitLab