aboutsummaryrefslogtreecommitdiff
path: root/gitlab-ci.yml
blob: b94460c6f273f59a06f4337ebe03a7259d69f13e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
image: clojure:lein-2.7.0
stages:
  - test
  - pages

before_script:
  - lein deps

lint:
  stage: test
  script:
    - lein lint

test:
  stage: test
  script:
    - lein deps
    - lein test

pages:
  stage: pages
  coverage: '/ALL FILES.*?(\d+\.\d+)/'
  script:
    - lein doc # outputs to public/api/
    - lein cloverage -o public/coverage/
  artifacts:
    paths:
      - public
  only:
    - master