Debian Codegraph @

.gitlab-ci.yml

raw symbols SCIP
1 before_script:
2 - rustc --version && cargo --version
3
4 image: "rust:latest"
5
6 include:
7 - template: Jobs/Secret-Detection.gitlab-ci.yml
8
9 publish:crates.io:
10 only:
11 - tags
12 script:
13 - cargo publish
14 stage: publish
15
16 stages:
17 - test
18 - publish
19
20 test:cargo:
21 needs: []
22 only:
23 - develop
24 - master
25 - merge_requests
26 - tags
27 script:
28 - cargo test --all --verbose -- --exact
29 stage: test
30
31 test:clippy:
32 before_script:
33 - rustup component add clippy
34 needs: []
35 only:
36 - develop
37 - master
38 - merge_requests
39 - tags
40 script:
41 - cargo clippy --all-targets --all-features -- -D warnings
42 stage: test
43
44 test:fmt:
45 before_script:
46 - rustup component add rustfmt
47 needs: []
48 only:
49 - develop
50 - master
51 - merge_requests
52 - tags
53 script:
54 - cargo fmt --all -- --check
55 stage: test