.gitlab-ci.yml 331 Bytes
Newer Older
Marc Feger's avatar
Marc Feger committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
image: $CI_REGISTRY/cn-tsn/general/templates/latex

lint:
  image: golang:alpine
  before_script:
    - apk add --no-cache git
    - go get github.com/errata-ai/vale
  script:
    - vale .
  allow_failure: true

pdf:
  script:
    - latexmk -f
  only:
    - master
  artifacts:
    paths:
      - master.pdf
    expire_in: 1 week