]> git.r.bdr.sh - rbdr/lyricli/blame_incremental - .gitlab-ci.yml
Remove travis config, add gitlab CI
[rbdr/lyricli] / .gitlab-ci.yml
... / ...
CommitLineData
1image: swift:5.0.1
2
3stages:
4 - lint
5 - build
6 - document
7 - deploy
8
9cache:
10 key: ${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHA}
11 paths:
12 - .build/
13
14before_script:
15 - gem install jazzy
16 - "./Scripts/install_sourcekitten.sh"
17 - "./Scripts/install_swiftlint.sh"
18
19lint:
20 stage: lint
21 script:
22 - make lint
23
24build:
25 stage: build
26 script:
27 - make build
28
29document:
30 stage: document
31 script:
32 - make document
33 artifacts:
34 paths:
35 - docs
36
37pages:
38 stage: deploy
39 script:
40 - mv docs public
41 artifacts:
42 paths:
43 - public