Skip to content

Commit

Permalink
Update Travis script to use the stable version of rustfmt and clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
bltavares committed Feb 7, 2020
1 parent b15288e commit 186657d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
language: rust
rust:
- stable
- nightly

before_script: |
rustup component add rustfmt-preview &&
rustup component add clippy-preview
rustup component add rustfmt &&
rustup component add clippy
script: |
cargo fmt -- --check &&
cargo clippy -- -D clippy::all &&
Expand Down

0 comments on commit 186657d

Please sign in to comment.