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
|