add rustfmt checks to travis (stable channel)
This commit is contained in:
parent
917b432aa5
commit
f02444e5a7
|
@ -1,10 +1,16 @@
|
||||||
language: rust
|
language: rust
|
||||||
env:
|
env:
|
||||||
- RUSTFLAGS="-D warnings"
|
- RUSTFLAGS="-D warnings"
|
||||||
|
before_script:
|
||||||
|
rustup component add rustfmt-preview
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- rust: stable
|
- rust: stable
|
||||||
|
script:
|
||||||
|
cargo fmt --all -- --check
|
||||||
|
cargo test --all --verbose
|
||||||
- rust: beta
|
- rust: beta
|
||||||
|
cargo test --all --verbose
|
||||||
- rust: nightly
|
- rust: nightly
|
||||||
script: cargo test --all --verbose --features compiletest_rs
|
script: cargo test --all --verbose --features compiletest_rs
|
||||||
allow_failures:
|
allow_failures:
|
||||||
|
|
Loading…
Reference in New Issue