]> git.r.bdr.sh - rbdr/lyricli/blob - .gitlab-ci.yml
Makes test environment docker-based
[rbdr/lyricli] / .gitlab-ci.yml
1 image: lyriclitest/swift:5.0.1
2
3 stages:
4 - lint
5 - build
6 - document
7 - deploy
8
9 cache:
10 key: ${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHA}
11 paths:
12 - .build/
13
14 lint:
15 stage: lint
16 script:
17 - make lint
18
19 build:
20 stage: build
21 script:
22 - make build
23
24 document:
25 stage: document
26 script:
27 - make document
28 artifacts:
29 paths:
30 - docs
31
32 pages:
33 stage: deploy
34 script:
35 - mv docs public
36 artifacts:
37 paths:
38 - public