better gitlab CI
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Lynne Megido 2021-04-21 07:06:56 +00:00
parent 430a4b9ab4
commit 4e37e184ec

View File

@ -1,9 +1,26 @@
image: "rust:latest"
default:
before_script:
- rustc --version
stages:
- build
- test
stable:
build:
stage: build
image: rust:latest
script:
- cargo build --verbose
- cargo test --verbose
cargo-test:
stage: test
script:
cargo test --verbose
clippy:
stage: test
script:
- rustup component add clippy
- ./clippy.sh