mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 04:39:16 +00:00
26 lines
472 B
YAML
26 lines
472 B
YAML
language: rust
|
|
|
|
matrix:
|
|
include:
|
|
- rust: stable
|
|
script:
|
|
- cargo gen-kinds --verify
|
|
- cargo gen-tests --verify
|
|
- cargo test
|
|
- rust: nightly
|
|
before_script:
|
|
- rustup component add clippy-preview
|
|
- rustup component add rustfmt-preview
|
|
script:
|
|
- cargo fmt --all -- --check || true
|
|
- cargo clippy
|
|
|
|
allow_failures:
|
|
- rust nightly
|
|
|
|
branches:
|
|
only:
|
|
- staging
|
|
- master
|
|
- trying
|