enforce rustfmt on travis

This commit is contained in:
Oliver Schneider
2016-12-20 10:42:22 +01:00
parent 85783f501d
commit ad0b09e84c
+2
View File
@@ -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