From 54641b0b517d6becf398b19ea4ecef38aaba4465 Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman <the@jeffreyfreeman.me> Date: Tue, 29 Sep 2020 22:06:15 -0400 Subject: [PATCH] Added gitlab CI initial attempt. --- .gitlab-ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..3627eb55 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,23 @@ +image: maven:latest + +cache: + paths: + - ~/.m2/repository/ + - target/ + +build: + stage: build + script: + - mvn $MAVEN_CLI_OPTS compile + +test: + stage: test + script: + - mvn $MAVEN_CLI_OPTS test + +deploy: + stage: deploy + script: + - mvn $MAVEN_CLI_OPTS deploy + only: + - master -- GitLab