Browse Source

add clippy to ci

pull/42/head
jake 4 years ago
parent
commit
5cf5907a86
  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