From 805527512e5a87334db28956d60736138ee2036b Mon Sep 17 00:00:00 2001 From: Ryan Barwick Date: Wed, 3 Oct 2018 18:28:55 +0100 Subject: [PATCH] gitlab ci config added --- .gitlab-ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..ff16eb8 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,19 @@ +image: maven + +stages: + - build + - test + +build: + stage: build + script: + - mvn compile + artifacts: + # Build artefacts are passed between stages implicitly. + paths: + - target/ # Maven compiled output + +test: + stage: test + script: + - mvn test # This uses artefacts from build stage