Skip to content

Commit 5d0ed9e

Browse files
committed
Add cargo fmt to travis build config
1 parent 321ee87 commit 5d0ed9e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ matrix:
1313
os: osx
1414

1515
script:
16+
- |
17+
if [[ "$TRAVIS_RUST_VERSION" == stable ]]
18+
then
19+
rustup component add rustfmt
20+
cargo fmt --all -- --check
21+
fi
1622
- cargo test
1723
- cargo test --features early-data
1824
- cd examples/server

0 commit comments

Comments
 (0)