Skip to content

Commit

Permalink
Added GitLab config
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Potisk committed Jan 27, 2020
1 parent 91ceb09 commit 814d075
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
image: maven:latest

stages:
- build
- test

variables:
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

0 comments on commit 814d075

Please sign in to comment.