Skip to content

Commit

Permalink
install cargo-fmt through rustup
Browse files Browse the repository at this point in the history
  • Loading branch information
Geal committed Feb 25, 2018
1 parent 49d3ace commit 7c8fdd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ matrix:
env: DOC_FEATURES='--features "std regexp regexp_macros" --no-default-features'
before_script:
- export PATH=$HOME/.cargo/bin:$PATH
- which rustfmt || cargo install rustfmt
- which rustfmt || rustup component add rustfmt-preview
script:
- eval cargo fmt -- --write-mode=diff
- eval cargo doc --verbose $DOC_FEATURES
Expand Down

0 comments on commit 7c8fdd8

Please sign in to comment.