Files
netneutrality/.gitlab-ci.yml
T

21 lines
315 B
YAML

image: maven:latest
variables:
MAVEN_CLI_OPTS: "-s .m2/settings.xml --batch-mode"
MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"
cache:
paths:
- .m2/repository/
- target/
build:
stage: build
script:
- "mvn --batch-mode compile"
test:
stage: test
script:
- "mvn --batch-mode test"