Skip to content

Commit

Permalink
Add cargo fmt to travis build config
Browse files Browse the repository at this point in the history
  • Loading branch information
Atul9 committed Aug 29, 2020
1 parent 674d0b8 commit 9fc6415
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 @@ -17,6 +17,11 @@ jobs:
- rust: nightly
- os: windows
include:
- if: rust = statble
script:
- rustup component add rustfmt
- cargo fmt --all -- --check

- if: rust = stable OR rust = beta OR rust = nightly
script:
- cargo test --release --all-features
Expand All @@ -28,4 +33,4 @@ jobs:
script:
- cargo build --release
- cargo build --release --no-default-features
- cargo build --release --all-feature
- cargo build --release --all-feature

0 comments on commit 9fc6415

Please sign in to comment.