Commit c82739c3 authored by Daniel Gerhardt's avatar Daniel Gerhardt

Add GitLab CI config

parent 4b719926
variables:
OUTPUT_DIR: "*/build"
GRADLE_USER_HOME: .gradle-user-home
.gradle_cache: &gradle_cache
paths:
- .gradle/
- $GRADLE_USER_HOME/
compile:
stage: build
tags:
- gradle
artifacts:
paths:
- $OUTPUT_DIR
cache: *gradle_cache
script:
- gradle xjc assemble
unit_test:
stage: test
tags:
- gradle
dependencies:
- compile
artifacts:
paths:
- $OUTPUT_DIR
cache: *gradle_cache
script:
- gradle 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