mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-23 02:27:39 +03:00
enforce rustfmt on travis
This commit is contained in:
@@ -17,10 +17,12 @@ install:
|
||||
- nvm install stable
|
||||
- nvm use stable
|
||||
- npm install remark-cli remark-lint
|
||||
- cargo install rustfmt
|
||||
|
||||
script:
|
||||
- remark -f README.md > /dev/null
|
||||
- python util/update_lints.py -c
|
||||
- cargo fmt -- --write-mode=diff
|
||||
- set -e
|
||||
- cargo build --features debugging
|
||||
- cargo test --features debugging
|
||||
|
||||
Reference in New Issue
Block a user