Skip to content

Commit

Permalink
Run clippy, fmt, and audit on stable channel
Browse files Browse the repository at this point in the history
  • Loading branch information
ramosbugs committed Nov 19, 2020
1 parent 5adfb97 commit e5f6be3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ rust:
sudo: false
#cache: cargo
before_script:
- cargo install --force cargo-audit
- cargo install --force cargo-when
- cargo when -c stable install --force cargo-audit
- rustup component add clippy
- rustup component add rustfmt
script:
- cargo when -v =1.41.0 clippy --all --all-features -- --deny warnings
- cargo when -v =1.41.0 fmt --all -- --check
- cargo when -c stable clippy --all --all-features -- --deny warnings
- cargo when -c stable fmt --all -- --check
- cargo test --tests --examples
- cargo test --doc
- cargo test --all-features
# Curl without reqwest (examples will not build)
- cargo test --tests --features curl --no-default-features
- cargo audit
- cargo when -c stable audit
notifications:
email:
on_success: never

0 comments on commit e5f6be3

Please sign in to comment.