Skip to content

Commit 9ef3d0b

Browse files
committed
Add a (nonfailing) rustfmt check to the CI
1 parent db27e97 commit 9ef3d0b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,14 @@ matrix:
137137
script:
138138
- bash utils/ci/script.sh
139139

140+
allow_failures:
141+
- rust: stable
142+
env: DESCRIPTION="Rustfmt"
143+
install:
144+
- rustup component add rustfmt
145+
script:
146+
- cargo fmt --all -- src/*.rs --check
147+
140148
before_install:
141149
- set -e
142150
- rustup self update

0 commit comments

Comments
 (0)