Skip to content
This repository was archived by the owner on Jun 8, 2021. It is now read-only.

Commit 08a589f

Browse files
Add cargo fmt check
1 parent 1dd6a5a commit 08a589f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ before_install:
5252
fi
5353
script:
5454
- rustc --version
55+
- if [ "$TRAVIS_RUST_VERSION" == "stable" ] && [ "$GTK" == "3.14" ]; then
56+
rustup component add rustfmt;
57+
cargo fmt --all -- --check;
58+
fi
5559
- cargo doc --features "dox,embed-lgpl-docs"
5660
- cargo test --features "$FEATURES,png,pdf,svg,pdf,xcb"
5761
- cargo test --no-default-features --features "$FEATURES,png,pdf,svg,pdf,xcb"

0 commit comments

Comments
 (0)