fif/.gitlab-ci.yml

26 lines
333 B
YAML
Raw Normal View History

2021-04-21 07:06:56 +00:00
image: "rust:latest"
default:
before_script:
- rustc --version
2021-04-21 06:57:57 +00:00
stages:
- build
2021-04-21 07:06:56 +00:00
- test
2021-04-21 06:57:57 +00:00
2021-04-21 07:06:56 +00:00
build:
2021-04-21 06:57:57 +00:00
stage: build
script:
- cargo build --verbose
- cargo test --verbose
2021-04-21 07:06:56 +00:00
cargo-test:
stage: test
script:
cargo test --verbose
clippy:
stage: test
script:
- rustup component add clippy
- ./clippy.sh