We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c84ef54 commit 2ff2296Copy full SHA for 2ff2296
.travis.yml
@@ -5,5 +5,12 @@ rust:
5
- nightly
6
7
script:
8
+ - |
9
+ if [[ $TRAVIS_RUST_VERSION == *stable* ]]
10
+ then
11
+ rustup component add rustfmt
12
+ cargo fmt --version
13
+ cargo fmt -- --check || (echo "Please reformat your code with 'cargo fmt' (version $(cargo fmt --version))"; false)
14
+ fi
15
- cargo build --verbose --all
16
- cargo test --verbose --all
0 commit comments