Skip to content

Commit

Permalink
Rust cargo-fmt (#635)
Browse files Browse the repository at this point in the history
* Add cargo fmt on Travis

* Fix travis.yml to include rustfmt during setup

* cargo fmt --all

* Format with 1.31.0
  • Loading branch information
termoshtt authored and LukeMathWalker committed May 12, 2019
1 parent cedbdf9 commit eb82c93
Show file tree
Hide file tree
Showing 112 changed files with 3,506 additions and 3,249 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ addons:
packages:
- libopenblas-dev
- gfortran
before_script:
- rustup component add rustfmt
script:
- |
cargo fmt --all -- --check &&
./scripts/all-tests.sh "$FEATURES" "$IS_NIGHTLY"
Loading

0 comments on commit eb82c93

Please sign in to comment.