diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..ed689045d6b058502c709730d081065301a201a2 --- /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