sudo: false

language: rust

rust:
  - stable
  - beta
  - nightly
  - 1.40.0

script:
  - cargo check

sudo: false

language: rust

rust:
  - stable
  - beta
  - nightly
  - 1.40.0

script:
  - cargo check

matrix:
  include:
    - name: Clippy
      install:
        - CLIPPY_NIGHTLY=nightly-$(curl -s https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-gnu/clippy)
        - echo "Latest nightly with Clippy is $CLIPPY_NIGHTLY"
        - rustup set profile minimal
        - rustup default "$CLIPPY_NIGHTLY"
        - rustup component add clippy
      script:
        - cargo clippy -- -D clippy::all

Add clippy build in CI
Add clippy build in CI
