mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 17:53:56 +00:00
21 lines
304 B
YAML
21 lines
304 B
YAML
language: rust
|
|
|
|
matrix:
|
|
include:
|
|
|
|
- rust: nightly-2018-01-26
|
|
before_script:
|
|
- rustup component add rustfmt-preview
|
|
script:
|
|
- cargo fmt -- --write-mode=diff
|
|
|
|
- rust: stable
|
|
script:
|
|
- cargo test
|
|
|
|
branches:
|
|
only:
|
|
- staging
|
|
- master
|
|
- trying
|