diff --git a/.travis.yml b/.travis.yml index e7e161b2..e7136a1a 100644 --- a/.travis.yml +++ b/.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