Skip to content

Commit eb82c93

Browse files
termoshttLukeMathWalker
authored andcommitted
Rust cargo-fmt (#635)
* Add cargo fmt on Travis * Fix travis.yml to include rustfmt during setup * cargo fmt --all * Format with 1.31.0
1 parent cedbdf9 commit eb82c93

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+3506
-3249
lines changed

.travis.yml

+3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ addons:
3030
packages:
3131
- libopenblas-dev
3232
- gfortran
33+
before_script:
34+
- rustup component add rustfmt
3335
script:
3436
- |
37+
cargo fmt --all -- --check &&
3538
./scripts/all-tests.sh "$FEATURES" "$IS_NIGHTLY"

0 commit comments

Comments
 (0)