~euandreh/dotfiles

ref: 2295b855de63442767f2e5a3ee5ec034f5e6bc30 dotfiles/git/gitlab-ci.yml -rw-r--r-- 686 bytes
2295b855EuAndreh Add indentation rule for =let-entities= 1 year, 2 months ago
                                                                                
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
image: clojure:lein-2.7.0
stages:
  - test
  - pages

lint:
  stage: test
  before_script:
    - lein deps
  script:
    - lein lint
  cache:
    key: maven-cache
    paths:
      - $HOME/.m2

test:
  stage: test
  before_script:
    - lein deps
  script:
    - lein test
  cache:
    key: maven-cache
    paths:
      - $HOME/.m2

pages:
  stage: pages
  image: nixos/nix:2.0.4
  coverage: '/ALL FILES.*?(\d+\.\d+)/'
  script:
    - nix-shell -p leiningen --run "lein docs"
    - nix-build -A proseDocs
    - cp result/index.html public/
  artifacts:
    paths:
      - public
  only:
    - master
  cache:
    key: global-shared-cache
    paths:
      - $HOME/.m2
      - /nix/store/