Skip to content

Commit

Permalink
enforce formatting with rustfmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
Centril committed May 5, 2019
1 parent d17d262 commit 6f87bb3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ rust:
- beta
- nightly
cache: cargo
script: cargo test --all
before_script: rustup component add rustfmt
script:
- cargo fmt --all -- --check
- rustfmt --check src/generate/templates/*.rs
- cargo test --all

branches:
only:
- master

0 comments on commit 6f87bb3

Please sign in to comment.