This commit is contained in:
parent
430a4b9ab4
commit
4e37e184ec
1 changed files with 19 additions and 2 deletions
|
@ -1,9 +1,26 @@
|
||||||
|
image: "rust:latest"
|
||||||
|
|
||||||
|
default:
|
||||||
|
before_script:
|
||||||
|
- rustc --version
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
|
- test
|
||||||
|
|
||||||
stable:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
image: rust:latest
|
|
||||||
script:
|
script:
|
||||||
- cargo build --verbose
|
- cargo build --verbose
|
||||||
- cargo test --verbose
|
- cargo test --verbose
|
||||||
|
|
||||||
|
cargo-test:
|
||||||
|
stage: test
|
||||||
|
script:
|
||||||
|
cargo test --verbose
|
||||||
|
|
||||||
|
clippy:
|
||||||
|
stage: test
|
||||||
|
script:
|
||||||
|
- rustup component add clippy
|
||||||
|
- ./clippy.sh
|
Loading…
Reference in a new issue