We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db27e97 commit ce4a089Copy full SHA for ce4a089
.travis.yml
@@ -23,6 +23,13 @@ matrix:
23
- rust: beta
24
env: DESCRIPTION="Linux, beta"
25
26
+ - rust: stable
27
+ env: DESCRIPTION="Rustfmt"
28
+ install:
29
+ - rustup component add rustfmt
30
+ script:
31
+ - cargo fmt --all -- src/*.rs --check
32
+
33
- rust: nightly
34
os: linux
35
env: DESCRIPTION="Linux, nightly, docs"
@@ -137,6 +144,10 @@ matrix:
137
144
script:
138
145
- bash utils/ci/script.sh
139
146
147
+ allow_failures:
148
+ # Formatting errors should appear in Travis, but not break the build.
149
+ - env: DESCRIPTION="Rustfmt"
150
140
151
before_install:
141
152
- set -e
142
153
- rustup self update
0 commit comments