mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-09-15 08:28:33 +02:00
20 lines
316 B
YAML
20 lines
316 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 $MAVEN_CLI_OPTS compile
|
|
|
|
test:
|
|
stage: test
|
|
script:
|
|
- mvn $MAVEN_CLI_OPTS test |