summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: c28dd3eb7a4b221f6ff95289bf766c44d2e576fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
image: openjdk:8

stages:
  - test
  - package

cache:
  paths:
    - .cache/

test:
  stage: test
  script:
    - ./mill -D ivy.default.ivy.user.dir=.cache server.test

package:
  stage: package
  script:
    - ./mill -D ivy.default.ivy.user.dir=.cache server.assembly
  artifacts:
    paths:
      - out/server/assembly/dest/*.jar
  only:
    - master