Skip to content

Only install rustfmt when we need it #896

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 23, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ install:
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
- npm install
- cargo install --force diesel_cli --vers 0.14.0 --debug --no-default-features --features postgres && export PATH=$HOME/.cargo/bin:$PATH
- cargo install --force rustfmt
- rustfmt --version

before_script:
- diesel database setup
Expand All @@ -40,6 +38,8 @@ matrix:
- rust: stable
env: RUSTFMT=YESPLEASE
script:
- cargo install --force rustfmt
- rustfmt --version
- cargo fmt -- --write-mode=diff
- rust: stable
script:
Expand Down