stages: - build rust-latest: stage: build image: rust:latest script: - cargo build --release - cargo test rust-nightly: stage: build image: rustlang/rust:nightly script: - cargo build --release - cargo test allow_failure: true