Skip to content

Commit

Permalink
Merge pull request #22 from diffblue/gitlab-ci
Browse files Browse the repository at this point in the history
TG-5162, TG-5163, TG-5164: gitlab ci config added
  • Loading branch information
ryanbarwick committed Oct 10, 2018
2 parents 475f3e0 + 8055275 commit 6f49aad
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
image: maven

stages:
- build
- test

build:
stage: build
script:
- mvn compile
artifacts:
# Build artefacts are passed between stages implicitly.
paths:
- target/ # Maven compiled output

test:
stage: test
script:
- mvn test # This uses artefacts from build stage

0 comments on commit 6f49aad

Please sign in to comment.