Commit a40ed1ce authored by Alexander Diewald's avatar Alexander Diewald

Integrate a basic gitlab-CI specification for maven builds

Signed-off-by: Alexander Diewald's avatarAlexander Diewald <diewald@fortiss.org>
parent 7dbb6031
image: maven:latest
stages:
- build
- test
variables:
GIT_SUBMODULE_STRATEGY: recursive
MAVEN_CLI_OPTS: "--batch-mode"
MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository -Dbuild.tooling=true -Dbuild.af3=true -Dbuild.emf=true"
cache:
paths:
- .m2/repository/
- target/
build:
stage: build
script:
- mvn $MAVEN_CLI_OPTS verify
test:
stage: test
script:
- mvn $MAVEN_CLI_OPTS test
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment