image: "rust:latest" default: before_script: - rustc --version stages: - build - test build: stage: build 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