mirror of
https://github.com/mlua-rs/mlua
synced 2026-06-08 16:05:43 +00:00
add rustfmt checks to travis (stable channel)
This commit is contained in:
@@ -1,10 +1,16 @@
|
||||
language: rust
|
||||
env:
|
||||
- RUSTFLAGS="-D warnings"
|
||||
before_script:
|
||||
rustup component add rustfmt-preview
|
||||
matrix:
|
||||
include:
|
||||
- rust: stable
|
||||
script:
|
||||
cargo fmt --all -- --check
|
||||
cargo test --all --verbose
|
||||
- rust: beta
|
||||
cargo test --all --verbose
|
||||
- rust: nightly
|
||||
script: cargo test --all --verbose --features compiletest_rs
|
||||
allow_failures:
|
||||
|
||||
Reference in New Issue
Block a user