Browse Source

add clippy to ci

jake 4 years ago
committed by andy
parent
commit
d3bc1c335b
  1. 13
      .drone.yml

13
.drone.yml

@ -7,7 +7,7 @@ concurrency:
limit: 1 limit: 1
steps: steps:
- name: cargo build
- name: build
image: rustlang/rust:nightly image: rustlang/rust:nightly
volumes: volumes:
- name: cache - name: cache
@ -16,7 +16,16 @@ steps:
path: /drone/src/target path: /drone/src/target
commands: commands:
- cargo build - cargo build
- name: cargo test
- name: clippy!
image: rustlang/rust:nightly
volumes:
- name: cache
path: /usr/local/cargo
- name: target-cache
path: /drone/src/target
commands:
- cargo clippy
- name: test
image: rustlang/rust:nightly image: rustlang/rust:nightly
volumes: volumes:
- name: cache - name: cache

Loading…
Cancel
Save