Compare commits

...
Author SHA1 Message Date
Atul Bhosale 0ed3d90f19 Add cargo fmt to travis build config 2020-03-18 23:29:36 +05:30
+5
View File
@@ -4,3 +4,8 @@ rust:
- stable
- beta
- nightly
script:
- if [[ "$TRAVIS_RUST_VERSION" == *stable* ]]; then rustup component add rustfmt; cargo fmt --version; cargo fmt -- --check || (echo "Please reformat your code with 'cargo fmt' (version $(cargo fmt --version))"; false); fi
- cargo build -v
- cargo test -v