Skip to content

Commit

Permalink
#720: CI piplines - WIP.
Browse files Browse the repository at this point in the history
  • Loading branch information
snazha-blkio committed Sep 30, 2018
1 parent 6534df6 commit 110a9a0
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
variables:
MAVEN_CLI_OPTS: "-s .m2/settings.xml --batch-mode"
MAVEN_OPTS: "-Dmaven.repo.local=.m2/repository"

cache:
paths:
- .m2/repository/
- target/

stages:
- build
- test

build:
stage: build
script:
- gradle clean build

unit tests:
stage: test
script:
- gradle test

integration tests:
stage: test
script:
- $ ./gradlew -Pintegration-tests=true :integration-tests:test

0 comments on commit 110a9a0

Please sign in to comment.