stages:
- test
test:stable:
stage: test
image: rust:latest
before_script:
- rustup component add clippy
- rustc --version
- cargo --version
- cargo clippy --version
script:
- cargo clippy
- cargo test --all --verbose
# For now developing against nightly in this branch.
allow_failure: true
test:nightly:
stage: test
image: rustlang/rust:nightly
before_script:
- rustup component add clippy
- rustc --version
- cargo --version
- cargo clippy --version
script:
- cargo clippy
- cargo test --all --verbose
# For now developing against nightly in this branch.
# allow_failure: true