travis: Add a clippy stage.
parent
5bebe1d434
commit
38166135dc
10
.travis.yml
10
.travis.yml
|
@ -12,13 +12,21 @@ jobs:
|
|||
name: macOS 10.15
|
||||
|
||||
include:
|
||||
- stage: Lint
|
||||
- stage: Format
|
||||
os: linux
|
||||
before_script:
|
||||
- rustup component add rustfmt
|
||||
script:
|
||||
- cargo fmt --all -- --check
|
||||
|
||||
- stage: Clippy
|
||||
os: linux
|
||||
before_script:
|
||||
- rustup component add clippy
|
||||
script:
|
||||
- cargo clippy --all-targets --all-features -- -D warnings
|
||||
|
||||
|
||||
- stage: Test
|
||||
os: linux
|
||||
dist: bionic
|
||||
|
|
Loading…
Reference in New Issue